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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-427"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53000.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "7.16.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v7.17.0",
"range": [
{
"fixed": "21b35d85b46f5ff0956d3d088a52b9bef00e8196"
}
],
"source": "REFERENCES_TAG"
}
]
}