CVE catalog

CVE-2018-19351

jupyter-notebook: CVE-2018-19351

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
1.51% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjupyter-notebooksid7.4.7-3fixed
Debianjupyter-notebookforky7.4.7-3fixed
Debianjupyter-notebooktrixie6.4.13-5fixed
Debianjupyter-notebookbookworm6.4.12-2.2fixed
Ubuntujupyter-notebook18.044.2.3-4vulnerable
Ubuntujupyter-notebook18.045.1.0-2vulnerable
Ubuntujupyter-notebook18.045.2.1-2vulnerable
Ubuntujupyter-notebook18.045.2.2-1vulnerable
Ubuntujupyter-notebook18.045.2.2-1ubuntu0.1fixed
Ubuntujupyter-notebook20.045.7.8-1vulnerable
Ubuntujupyter-notebook20.046.0.0-1vulnerable
Ubuntujupyter-notebook20.046.0.0-2vulnerable
Ubuntujupyter-notebook20.046.0.2-1vulnerable
Ubuntujupyter-notebook20.046.0.3-1vulnerable
Ubuntujupyter-notebook20.046.0.3-2vulnerable
Ubuntujupyter-notebook20.046.0.3-2ubuntu0.1fixed
Ubuntujupyter-notebook22.046.2.0-1vulnerable
Ubuntujupyter-notebook22.046.4.5-2vulnerable
Ubuntujupyter-notebook22.046.4.5-3vulnerable
Ubuntujupyter-notebook22.046.4.5-4vulnerable
Ubuntujupyter-notebook22.046.4.8-1vulnerable
Ubuntujupyter-notebook22.046.4.8-1ubuntu0.1fixed
Ubuntujupyter-notebook18.044.2.3-4vulnerable
Ubuntujupyter-notebook18.045.1.0-2vulnerable
Ubuntujupyter-notebook18.045.2.1-2vulnerable
Ubuntujupyter-notebook18.045.2.2-1vulnerable
Ubuntujupyter-notebook18.045.2.2-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjupyter-notebooksourcesid5.7.4-1not yet assignedNot reported[917409]
Debianjupyter-notebooksourceforky5.7.4-1not yet assignedNot reported[917409]
Debianjupyter-notebooksourcetrixie5.7.4-1not yet assignedNot reported[917409]
Debianjupyter-notebooksourcebookworm5.7.4-1not yet assignedNot reported[917409]
Ubuntujupyter-notebookdeb18.045.2.2-1ubuntu0.1Not reportedUSN-5585-1Not reported
Ubuntujupyter-notebookdeb20.046.0.3-2ubuntu0.1Not reportedUSN-5585-1Not reported
Ubuntujupyter-notebookdeb22.046.4.8-1ubuntu0.1Not reportedUSN-5585-1Not reported
Ubuntujupyter-notebookdeb18.045.2.2-1ubuntu0.1Not reportedUBUNTU-CVE-2018-19351Not reported

[Debian bug #917409]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

  • Source package: [jupyter-notebook]

    Details (2)
    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

  • Source package: [jupyter-notebook]

    Details (2)
    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · 13

    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · 13

  • Source package: [jupyter-notebook]

    Details (2)
    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · 13

    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · 13

  • Source package: [jupyter-notebook]

    Details (2)
    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · 13

    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 5.7.4-1

      dsa · jupyter-notebook · debian · 13

Observed:

References