Skip to content
HighVulnerability

CVE-2026-102831: JupyterLab cell paste lets HTML output bypass sanitization and run script

Identifier
CVE-2026-102831
Published
Record updated
View JSON
Affected
  • jupyterlab >= 4.6.0, <= 4.6.3, fixed in 4.6.4
  • jupyterlab >= 4.5.0, <= 4.5.10, fixed in 4.5.11
  • notebook >= 7.5.0, <= 7.6.2, fixed in 7.6.3
  • and 2 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A flaw in JupyterLab's 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 and bypass output sanitization. The attacker's script then runs in the authenticated JupyterLab origin without the cell being executed. Markdown and raw cells are not affected.

Mitigation

Fixed in JupyterLab 4.5.11 and 4.6.4, Notebook 7.6.3, and JupyterLite Core 0.8.4.