GHSA-49qr-xh3w-h436

    Dashboard / Vulnerabilities / GHSA-49qr-xh3w-h436

    GHSA-49qr-xh3w-h436

    Published: 21 Nov 2018Last Modified: 27 Sept 2024

    Summary: Jupyter Notebook XSS via untrusted notebooks

    Details: 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.

    Affected packages

    Package

    Name: notebook

    Purl: pkg:pypi/notebook

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -5.7.1

    Affected versions

    0.0.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High