CVE-2018-19351

Aliases:GHSA-49qr-xh3w-h436PYSEC-2018-17
Advisory lineage Upstream: 0 Downstream: 5
Modified
Published: 18 Nov 2018, 17:00
Last modified:05 Aug 2024, 11:37

Vulnerability Summary

Overall Risk (default)
low
24/100
CVSS Score
6.1 MEDIUM
v3.0 (nvd)
EPSS Score
0.31% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

18 Nov 2018, 17:00
Published
Vulnerability first disclosed
05 Aug 2024, 11:37
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v4.0MEDIUMScore: 5.1CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
  • v3.0MEDIUMScore: 6.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • v2.0MEDIUMScore: 4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

EPSS Trends

Current EPSS score: 0.31% Percentile: 54%

Techniques & Countermeasures

  • CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

    The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Affected Systems

  • jupyternotebook

    < 5.7.1

  • PyPInotebook

    < 107a89fce5f413fb5728c1c5d2c7788e1fb17491 | < 5.7.1

References (10)