VDB

PYSEC-2018-17

PYSEC-2018-17 PUBLISHED CVSS 9.300000190734863 CRITICAL

Record from OSV · Published November 18, 2018

notebook is fixed in 5.7.1 and 107a89fce5f413fb5728c1c5d2c7788e1fb17491 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
notebookPyPI5.7.1, 107a89fce5f413fb5728c1c5d2c7788e1fb17491

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
PyPInotebook0, 0, 0.0.0

Timeline

  • Nov 18, 2018 CVE Published
  • Nov 8, 2023 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln PYSEC-2018-17
vulnetix vdb fixes PYSEC-2018-17

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/PYSEC-2018-17/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›