Security mailing lists by PureSourceCode

CVE-2018-19351

MEDIUM 6.1CVSS 3.0

Jupyter Notebook XSS via untrusted notebooks

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.

Published
18 Nov 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-49qr-xh3w-h436PYSEC-2018-17
Sources
NVDJSONOSV GHSA-49qr-xh3w-h436JSONOSV PYSEC-2018-17JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jupyter notebook
cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:*
< 5.7.1 5.7.1
OSV PyPI notebook < 5.7.1 5.7.1

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 18 Nov 2018)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Nov 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Nov 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.