{"id":"CVE-2024-22420","published":"2024-01-19T20:49:09Z","modified":"2025-05-30T14:25:05Z","title":"Stored cross site scripting in Markdown Preview in JupyterLab","vendor":"jupyterlab","product":"jupyterlab","tier":"tail","description":{"text":"JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook and Architecture. This vulnerability depends on user interaction by opening a malicious Markdown file using JupyterLab preview feature. A malicious user can access any data that the attacked user has access to as well as perform arbitrary requests acting as the attacked user. JupyterLab version 4.0.11 has been patched. Users are advised to upgrade. Users unable to upgrade should disable the table of contents extension.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00772,"percentile":0.52089,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4m77-cmpx-vjc4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jupyterlab/jupyterlab/commit/e1b3aabab603878e46add445a3114e838411d2df","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQJKNRDRFMKGVRIYNNN6CKMNJDNYWO2H/","tags":[]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":10.42},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"jupyterlab","affectedVersions":[{"vendor":"jupyterlab","product":"jupyterlab","versions":[">=4.0.0, < 4.0.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-08T15:53:23.117968Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jupyterlab","vulnerableRanges":[">=4.0.0, <4.0.11"],"patched":["4.0.11"],"from":["GHSA-4m77-cmpx-vjc4","PYSEC-2026-2535"],"provenance":"source"},{"ecosystem":"PyPI","package":"notebook","vulnerableRanges":[">=7.0.0, <7.0.7"],"patched":["7.0.7"],"from":["GHSA-4m77-cmpx-vjc4","PYSEC-2026-1707"],"provenance":"source"}],"summary":{"text":"Stored cross-site scripting in the Markdown Preview feature of JupyterLab, the extensible interactive computing environment, allows a malicious Markdown file to inject script that runs when a user opens it in the preview. An attacker needs only network access and no authentication, but the victim must open the malicious file, and a successful attack can read any data the victim can access and make arbitrary requests as that user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:17Z"},"euvd":{"id":"EUVD-2024-0248","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jupyterlab-cve-2024-22420","children":[{"from":"CVE-2024-22420","to":"CVE-2025-59842","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/rendermime-interfaces/src/index.ts"],"commits":["https://github.com/jupyterlab/jupyterlab/commit/e1b3aabab603878e46add445a3114e838411d2df","https://github.com/jupyterlab/jupyterlab/commit/dda0033cd49449572d077bbecd33b18d8d05f48a","https://github.com/jupyterlab/jupyterlab/commit/88ef373039a8cc09f27d3814382a512d9033675c"],"basis":"rarely changed file"}]},{"from":"CVE-2024-22420","to":"CVE-2026-102832","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/markdownviewer-extension/src/index.ts","packages/notebook/src/widget.ts"],"commits":["https://github.com/jupyterlab/jupyterlab/commit/e1b3aabab603878e46add445a3114e838411d2df","https://github.com/jupyterlab/jupyterlab/commit/dda0033cd49449572d077bbecd33b18d8d05f48a","https://github.com/jupyterlab/jupyterlab/commit/0fc18ab4ef67e431a8f6560e387193baf786c70a","https://github.com/jupyterlab/jupyterlab/commit/b64bc88b8ca034cf158604a5cc48ca9170ea453b"],"basis":"shared function","functions":["activate"]}]}]}}