6.1med

CVE-2018-19352

Jupyter Notebook XSS via directory name

Also known as GHSA-3p4q-x8f3-p7vq, PYSEC-2018-18

Published 7 y ago · modified 4 mo ago · JSON

CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.3%
percentile 71%
Public exploits
0
none known

Summary

Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.

Exploit prediction (EPSS)

1.33% probability of exploitation in the next 30 days, higher than 71% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
pypinotebook
<5.7.2
5.7.2

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

  • github.com /jupyter/notebook/commit/288b73e1edbf527740e273fcc69b889460871648 · x_refsource_MISC, x_transferred
  • pypi.org /project/notebook/#history · x_refsource_MISC, x_transferred
  • github.com /jupyter/notebook/blob/master/docs/source/changelog.rst · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-19352 · advisory
  • github.com /jupyter/notebook · package
  • github.com /pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-18.yaml · web
  • github.com /advisories/GHSA-3p4q-x8f3-p7vq · advisory

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.