Read the docs
TI-2018-13712 Aliases CVE-2018-19351GHSA-49qr-xh3w-h436

Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert…

Priority LOW 30CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as the notebook server. In other words, nbconvert endpoints can execute JavaScript with access to the server API. In notebook/nbconvert/handlers.py, NbconvertFileHandler and NbconvertPostHandler do not set a Content Security Policy to prevent this.

Why it matters now

EPSS 0.01511 74th percentileScored 2026-11-07
Fix Fixed notebook (PyPI): 5.7.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—notebook (PyPI)before 5.7.15.7.1Patch availableGHSA-49qr-xh3w-h436
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • notebook (PyPI) Vendor— Affected before 5.7.1 Fixed in 5.7.1 Patch available GHSA-49qr-xh3w-h436

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:*before 5.7.1Vulnerablejupyterlab
  • cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:* Versions before 5.7.1 Vulnerable ·jupyterlab

Remediation

  • Fix · GHSA-49qr-xh3w-h436 notebook (PyPI) Fixed in 5.7.1 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-19351
  2. 2026-10-03 Alias added: GHSA-49qr-xh3w-h436

References

  • TI-2021-12464 Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in notebook CVSS 3.1CRITICAL 10.0
  • TI-2022-08572 Insertion of Sensitive Information into Log File affects Jupyter Notebook CVSS 3.1HIGH 7.5
  • TI-2026-30837 jupyterlab: Command linker attributes in HTML enable one-click command execution from untrusted content CVSS 4.0HIGH 8.6
  • TI-2018-06323 In Jupyter Notebook before 5.4.1, a maliciously forged notebook file can bypass… CVSS 3.0HIGH 7.8
  • TI-2015-06101 The editor in IPython Notebook before 3.2.2 and Jupyter Notebook 4.0.x before 4.0.5… CVSS 2.0MEDIUM 6.8
  • TI-2024-14994 Potential authentication and CSRF tokens leak in JupyterLab CVSS 3.1HIGH 7.6
See all 16 →

Sources