Bug 2415005

Summary: CVE-2025-59840 jupyterlab: Cross-Site Scripting (XSS) via expressions abusing toString calls in environments using the VEGA_DEBUG global variable [fedora-43]
Product: [Fedora] Fedora Reporter: TEJ RATHI <trathi>
Component: jupyterlabAssignee: Lumír Balhar <lbalhar>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 43CC: lbalhar, python-packagers-sig, romain.geissler
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["10f995b7-30d0-4168-98d4-f6953a90c0e4"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-14 14:44:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2414907    

Description TEJ RATHI 2025-11-14 09:47:42 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams

Comment 1 Lumír Balhar 2025-11-20 09:43:34 UTC
Upstream issue: https://github.com/jupyterlab/jupyterlab/issues/18113

Comment 2 Lumír Balhar 2026-06-14 14:44:00 UTC
This vulnerability requires window.VEGA_DEBUG or window.vega to be set globally. JupyterLab's webpack build loads vega inside module scope with no global exposure. Confirmed absent from the production static bundle. Not exploitable.