Description
JupyterLab before 4.5.9 contains a stored cross-site scripting vulnerability in the Extension Manager that fails to validate URI protocols in package metadata URLs. Attackers can publish malicious PyPI packages with javascript: URLs in project metadata that execute arbitrary JavaScript in the JupyterLab origin when users click the extension name.
Published: 2026-08-01
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

JupyterLab prior to 4.5.9 contains a stored cross‑site scripting flaw in the Extension Manager. The vulnerability is caused by a failure to validate URI protocols in package metadata URLs. An attacker can publish a malicious PyPI package that includes a javascript: URL in the metadata; when a user clicks the extension name in the JupyterLab interface, the JavaScript executes in the context of the JupyterLab origin. This allows the attacker to run arbitrary code, potentially exfiltrating session data, cookies, or performing other actions that compromise confidentiality, integrity, or availability of the JupyterLab environment. The weakness maps to CWE‑84, reflecting an incorrect processing of input data.

Affected Systems

JupyterLab instances running any version earlier than 4.5.9 are affected. The product is provided by the JupyterLab community and is commonly installed on data‑science and research servers. No specific operating system or host restrictions are mentioned.

Risk and Exploitability

The CVSS score for this issue is 5.1, indicating a moderate severity. The EPSS score is 0.00175 (<1%), indicating a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog, suggesting that a widespread exploitation campaign has not yet been recorded. The likely attack vector requires the user to interact with the malicious extension by clicking its name after the package has been installed from PyPI, so the flaw is dependent on user action and the presence of the vulnerable component. The damage manifests as arbitrary JavaScript execution within the JupyterLab session, which is a word‑level impact but can be leveraged toward more severe compromises if coupled with other weaknesses.

Generated by OpenCVE AI on August 5, 2026 at 14:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade JupyterLab to version 4.5.9 or newer to remove the stored‑XSS flaw
  • Disable the Extension Manager or restrict it to trusted contributors until a safe version is available
  • Examine Extension Manager activity logs for packages containing javascript: URLs and remove any that are suspicious

Generated by OpenCVE AI on August 5, 2026 at 14:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 03 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 01 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description JupyterLab before 4.5.9 contains a stored cross-site scripting vulnerability in the Extension Manager that fails to validate URI protocols in package metadata URLs. Attackers can publish malicious PyPI packages with javascript: URLs in project metadata that execute arbitrary JavaScript in the JupyterLab origin when users click the extension name.
Title JupyterLab before 4.5.9 Stored XSS via Extension Manager
First Time appeared Jupyter
Jupyter jupyterlab
Weaknesses CWE-84
CPEs cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
Vendors & Products Jupyter
Jupyter jupyterlab
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Jupyter Jupyterlab
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-03T19:36:40.296Z

Reserved: 2026-07-29T13:09:45.992Z

Link: CVE-2026-67338

cve-icon Vulnrichment

Updated: 2026-08-03T19:36:36.490Z

cve-icon NVD

Status : Received

Published: 2026-08-01T13:17:04.843

Modified: 2026-08-03T20:17:27.450

Link: CVE-2026-67338

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-01T12:22:17Z

Links: CVE-2026-67338 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T15:00:05Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-84

    Improper Neutralization of Encoded URI Schemes in a Web Page