CVE-2025-53000
Reported by github_m · Published December 17, 2025
nbconvert is fixed in 7.17.0 (PyPI)
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. Versions of nbconvert up to and including 7.16.6 on Windows have a vulnerability in which converting a notebook containing SVG output to a PDF results in unauthorized code execution. Specifically, a third party can create a `inkscape.bat` file that defines a Windows batch script, capable of arbitrary code execution. When a user runs `jupyter nbconvert --to pdf` on a notebook containing SVG output to a PDF on a Windows platform from this directory, the `inkscape.bat` file is run unexpectedly. This issue has been patched in version 7.17.0.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nbconvert | PyPI | 7.17.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jupyter | nbconvert | < 7.17.0 |
| PyPI | nbconvert | 0 |
| jupyter | nbconvert | 0 |
| wolfi | jupyter-docker-stacks | 0, 0 |
| chainguard | py3-nbconvert | 0 |
| chainguard | jupyter-docker-stacks | 0 |
| chainguard | tensorflow-cpu-jupyter | * |
| wolfi | tensorflow-cpu-jupyter | * |
| chainguard | tensorflow-gpu-jupyter | * |
| chainguard | jupyter-base-notebook | * |
| wolfi | kubeflow-pipelines-visualization-server | * |
| chainguard | kubeflow-pipelines-visualization-server | * |
| wolfi | jupyter-base-notebook | * |
| wolfi | py3-nbconvert | 0 |
Timeline
- Dec 17, 2025 CVE Published
- Dec 17, 2025 PoC Published (3 in total, the first dated here)
- Dec 18, 2025 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory
- Mar 28, 2026 Coalition ESS Score (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-53000
vulnetix vdb fixes CVE-2025-53000
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/CVE-2025-53000/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf x_refsource_CONFIRM
- https://github.com/jupyter/nbconvert/issues/2258 x_refsource_MISC
- https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71 x_refsource_MISC
- https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104 x_refsource_MISC
- https://github.com/jupyter/nbconvert/releases/tag/v7.17.0 x_refsource_MISC
- https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-53000 advisory
- https://github.com/advisories/GHSA-xm59-rqc7-hhvf advisory
- https://github.com/jupyter/nbconvert url