Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Jupyter | Nbconvert | <= 7.16.6 |
| Microsoft | Windows | - |
Related Weaknesses (CWE)
References
- https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36
- https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf
- https://github.com/jupyter/nbconvert/issues/2258
- https://github.com/jupyter/nbconvert/releases/tag/v7.17.0
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf
- https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exportsExploitThird Party Advisory
- https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exportsExploitThird Party Advisory
FAQ
What is CVE-2025-53000?
CVE-2025-53000 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 whic...
How severe is CVE-2025-53000?
CVE-2025-53000 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-53000?
Check the references section above for vendor advisories and patch information. Affected products include: Jupyter Nbconvert, Microsoft Windows.