{"id":"USN-9230-1","summary":"nbconvert vulnerabilities","details":"Alvaro Muñoz discovered that nbconvert did not properly sanitize certain\nnotebook content when converting notebooks to HTML. If a user were tricked\ninto converting a specially crafted notebook, an attacker could possibly\nuse this issue to perform cross-site scripting attacks. (CVE-2021-32862)\n\nIt was discovered that nbconvert did not properly validate output file\nnames stored in notebook metadata when extracting cell outputs. If a user\nwere tricked into converting a specially crafted notebook, an attacker\ncould possibly use this issue to write arbitrary files. This issue only\naffected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2026-114140)","modified":"2026-12-02T02:28:46.911955710Z","published":"2026-11-30T19:13:21Z","related":["UBUNTU-CVE-2021-32862","UBUNTU-CVE-2026-114140"],"upstream":["CVE-2021-32862","CVE-2026-114140","UBUNTU-CVE-2021-32862","UBUNTU-CVE-2026-114140"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9230-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-32862"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-114140"}],"affected":[{"package":{"name":"nbconvert","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.1-1ubuntu0.1~esm3"}]}],"versions":["4.2.0-4","5.3.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.3.1-1ubuntu0.1~esm3","binary_name":"jupyter-nbconvert"},{"binary_name":"python-nbconvert","binary_version":"5.3.1-1ubuntu0.1~esm3"},{"binary_name":"python3-nbconvert","binary_version":"5.3.1-1ubuntu0.1~esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9230-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2021-32862","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]}}},{"package":{"name":"nbconvert","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.1-1ubuntu0.1~esm3"}]}],"versions":["5.4-2ubuntu2","5.6.0-1","5.6.0-2","5.6.1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"jupyter-nbconvert","binary_version":"5.6.1-1ubuntu0.1~esm3"},{"binary_name":"python3-nbconvert","binary_version":"5.6.1-1ubuntu0.1~esm3"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2021-32862","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-114140"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9230-1.json"}},{"package":{"name":"nbconvert","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.0-1ubuntu0.1~esm3"}]}],"versions":["5.6.1-3","6.1.0-1","6.3.0-1","6.4.0-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"6.4.0-1ubuntu0.1~esm3","binary_name":"jupyter-nbconvert"},{"binary_name":"python3-nbconvert","binary_version":"6.4.0-1ubuntu0.1~esm3"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2021-32862","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CNA"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-114140","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:Pro:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9230-1.json"}}],"schema_version":"1.9.2"}