{"answers":{"affected":"14 open source packages ship an affected version, including jupyterlab, jupyterlite and jupyterlite-core.","exploited":"There is no known exploitation of CVE-2026-102831 in the wild and no public exploit code.","fix":"Upgrade jupyterlab to a fixed version for your release line: 4.5.11 or 4.6.4.","what":"CVE-2026-102831 is a high-severity cross-site scripting vulnerability in jupyterlab, published on 29 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-102831 and fix it if it is affected.\n\nWhat it is: CVE-2026-102831 is a high-severity cross-site scripting vulnerability in jupyterlab, published on 29 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-102831 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- jupyterlab (PyPI): affected from 4.5.0; fixed in 4.5.11, 4.6.4\n- jupyterlab (PyPI): affected from 4.5.0; fixed in 4.5.11\n- jupyterlab (PyPI): affected from 4.5.0; fixed in 4.5.11\n- jupyterlab (PyPI): affected from 4.6.0; fixed in 4.6.4\n- jupyterlab (PyPI): affected from 4.6.0; fixed in 4.6.4\n- jupyterlite (PyPI): affected from 0.7.0; fixed in 0.8.4\n- jupyterlite (PyPI): affected from 0.7.0; fixed in 0.8.4\n- jupyterlite (PyPI): affected from 0.7.0; fixed in 0.8.4\n- jupyterlite-core (PyPI): affected from 0.7.0; fixed in 0.8.4\n- jupyterlite-core (PyPI): affected from 0.7.0; fixed in 0.8.4\n- jupyterlite-core (PyPI): affected from 0.7.0; fixed in 0.8.4\n- notebook (PyPI): affected from 7.5.0; fixed in 7.6.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-102831/ (Markdown: https://insights.sbomify.com/CVE-2026-102831/index.md)","id":"CVE-2026-102831","markdown":"https://insights.sbomify.com/CVE-2026-102831/index.md","name":"CVE-2026-102831","record":{"aliases":["DEBIAN-CVE-2026-102831","GHSA-6966-vjj6-99xv","MINI-j59r-mhxf-xhgf","MINI-xc4q-827x-rjx8","PYSEC-2026-4057","PYSEC-2026-4058","PYSEC-2026-4060","PYSEC-2026-4112","UBUNTU-CVE-2026-102831"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"JupyterLab web interface","requires_auth":"none","summary":"Attackers can execute arbitrary scripts in JupyterLab by pasting malicious cells, bypassing output sanitization when specific clipboard settings are enabled.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. From JupyterLab 4.5.0 until 4.5.11 and 4.6.4, from Notebook 7.5.0 until 7.6.3, and from JupyterLite Core 0.7.0 until 0.8.4, the system clipboard cell-paste path accepts attacker-controlled cell JSON without clearing metadata.trusted. When useSystemClipboardForCells is active and pasteCodeCellsWithoutOutput is disabled, a pasted code cell can mark HTML output as trusted, bypass output sanitization, and execute script in the authenticated JupyterLab origin without executing the cell. Markdown and raw cells are not affected because their output is sanitized. This issue is fixed in JupyterLab 4.5.11 and 4.6.4, Notebook 7.6.3, and JupyterLite Core 0.8.4.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"JupyterLab: Cross-site scripting (XSS) in JupyterLab via notebook cells pasted from the system clipboard","id":"CVE-2026-102831","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":14,"n_references":6,"next":{"headline":"JupyterLab: Command link trust prompt in JupyterLab can trust a document other than the one clicked","id":"CVE-2026-102832"},"packages":[{"ecosystem":"PyPI","fixed":["4.5.11","4.6.4"],"introduced":["4.5.0","4.6.0"],"last_affected":[],"package":"jupyterlab","purl":"pkg:pypi/jupyterlab","source":"PYSEC-2026-4057"},{"ecosystem":"PyPI","fixed":["4.5.11"],"introduced":["4.5.0"],"last_affected":[],"package":"jupyterlab","purl":null,"source":"GHSA-6966-vjj6-99xv"},{"ecosystem":"PyPI","fixed":["4.5.11"],"introduced":["4.5.0"],"last_affected":[],"package":"jupyterlab","purl":"pkg:pypi/jupyterlab","source":"GHSA-6966-vjj6-99xv"},{"ecosystem":"PyPI","fixed":["4.6.4"],"introduced":["4.6.0"],"last_affected":[],"package":"jupyterlab","purl":null,"source":"GHSA-6966-vjj6-99xv"},{"ecosystem":"PyPI","fixed":["4.6.4"],"introduced":["4.6.0"],"last_affected":[],"package":"jupyterlab","purl":"pkg:pypi/jupyterlab","source":"GHSA-6966-vjj6-99xv"},{"ecosystem":"PyPI","fixed":["0.8.4"],"introduced":["0.7.0"],"last_affected":[],"package":"jupyterlite","purl":null,"source":"GHSA-6966-vjj6-99xv"},{"ecosystem":"PyPI","fixed":["0.8.4"],"introduced":["0.7.0"],"last_affected":[],"package":"jupyterlite","purl":"pkg:pypi/jupyterlite","source":"GHSA-6966-vjj6-99xv"},{"ecosystem":"PyPI","fixed":["0.8.4"],"introduced":["0.7.0"],"last_affected":[],"package":"jupyterlite","purl":"pkg:pypi/jupyterlite","source":"PYSEC-2026-4058"},{"ecosystem":"PyPI","fixed":["0.8.4"],"introduced":["0.7.0"],"last_affected":[],"package":"jupyterlite-core","purl":null,"source":"GHSA-6966-vjj6-99xv"},{"ecosystem":"PyPI","fixed":["0.8.4"],"introduced":["0.7.0"],"last_affected":[],"package":"jupyterlite-core","purl":"pkg:pypi/jupyterlite-core","source":"GHSA-6966-vjj6-99xv"},{"ecosystem":"PyPI","fixed":["0.8.4"],"introduced":["0.7.0"],"last_affected":[],"package":"jupyterlite-core","purl":"pkg:pypi/jupyterlite-core","source":"PYSEC-2026-4060"},{"ecosystem":"PyPI","fixed":["7.6.3"],"introduced":["7.5.0"],"last_affected":[],"package":"notebook","purl":null,"source":"GHSA-6966-vjj6-99xv"},{"ecosystem":"PyPI","fixed":["7.6.3"],"introduced":["7.5.0"],"last_affected":[],"package":"notebook","purl":"pkg:pypi/notebook","source":"GHSA-6966-vjj6-99xv"},{"ecosystem":"PyPI","fixed":["7.6.3"],"introduced":["7.5.0"],"last_affected":[],"package":"notebook","purl":"pkg:pypi/notebook","source":"PYSEC-2026-4112"}],"prev":{"headline":"JupyterLab: Cross-site scripting (XSS) in JupyterLab via crafted language package (jupyterlab.json)","id":"CVE-2026-102830"},"products":["jupyterlab","jupyterlite-core","notebook"],"published":"2026-09-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-02","vendors":["jupyterlab"]},"summary":"Attackers can execute arbitrary scripts in JupyterLab by pasting malicious cells, bypassing output sanitization when specific clipboard settings are enabled.","url":"https://insights.sbomify.com/CVE-2026-102831/"}