Intel

AIKIDO-2026-993827

jupyterlab is vulnerable to Cross-Site Scripting (XSS)

CVE-2026-102831Published Sep 23, 2026
September 23, 2026

81

CVE Score

High

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

JupyterLab's system clipboard paste path parses clipboard text as cell JSON and inserts the cells without clearing metadata.trusted, so a pasted payload can declare its own output as trusted. JupyterLab does not sanitize trusted output and runs the <script> elements it contains, so pasting the cell runs untrusted JavaScript in the JupyterLab origin. The fix strips the trusted flag from cells pasted through the system clipboard so their output is sanitized like any other externally sourced content.

How do I fix this?

Upgrade the jupyterlab library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you paste notebook cells from the system clipboard with useSystemClipboardForCells enabled.

Package

Versions

4.5.0 - 4.5.10

Fixed in 4.5.11

4.6.0 - 4.6.3

Fixed in 4.6.4

Background info

jupyterlab is vulnerable to Cross-Site Scripting (XSS) in versions 4.5.0 - 4.5.10 and 4.6.0 - 4.6.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea