{"id":"CVE-2023-46303","aliases":["DEBIAN-CVE-2023-46303","DLA-3862-1","EUVD-2023-50525","GHSA-3j9j-5462-cpx8","MGASA-2025-0049","UBUNTU-CVE-2023-46303"],"status":"published","title":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by...","description":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by default, add resources outside of the document root.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01628,"percentile":0.76504,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-918"],"published":"2023-10-22T00:00:00Z","modified":"2026-10-28T02:30:54Z","fixes":[{"ecosystem":"Debian:12","package":"calibre","fixed_in":["6.13.0+repack-2+deb12u3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"calibre","fixed_in":["6.19.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"calibre","fixed_in":["6.19.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.13.0+repack-2+deb12u3"}]}],"versions":["6.13.0+repack-2","6.13.0+repack-2+deb12u1","6.13.0+repack-2+deb12u2"]},{"source":"osv","ecosystem":"Debian:13","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.19.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.19.1-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.12.0+dfsg-1+deb11u3"}]}],"versions":["5.12.0+dfsg-1","5.12.0+dfsg-1+deb11u1","5.12.0+dfsg-1+deb11u2"],"bundled":2},{"source":"osv","ecosystem":"Mageia:9","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.17.0-1.1.mga9"}]}],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.33.0+dfsg-1build1","2.38.0+dfsg-1","2.45.0+dfsg-1","2.45.0+dfsg-1build1","2.48.0+dfsg-1","2.48.0+dfsg-1build1","2.54.0+dfsg-1","2.55.0+dfsg-1","2.55.0+dfsg-1ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.7.0+dfsg-2","3.7.0+dfsg-2build1","3.12.0+dfsg-1","3.13.0+dfsg-1","3.14.0+dfsg-1","3.15.0.1+dfsg-1","3.16.0+dfsg-1","3.16.0+dfsg-1build1","3.17.0+dfsg-1","3.17.0+dfsg-2","3.18.0+dfsg-1build1","3.19.0+dfsg-1","3.20.0+dfsg-1","3.21.0+dfsg-1","3.21.0+dfsg-1build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.46.0+dfsg-1","4.2.0+dfsg-2","4.3.0+dfsg-1","4.3.0+dfsg-2","4.4.0+dfsg-1","4.5.0+dfsg-1","4.5.0+dfsg-2","4.5.0+dfsg-3","4.6.0+dfsg-1","4.7.0+dfsg-1","4.99.3+dfsg-2","4.99.4+dfsg-1","4.99.4+dfsg-1build1","4.99.4+dfsg+really4.10.0+py3-2","4.99.4+dfsg+really4.11.2-1","4.99.4+dfsg+really4.11.2-1build1","4.99.4+dfsg+really4.12.0-1","4.99.4+dfsg+really4.12.0-1build1","4.99.4+dfsg+really4.12.0-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.25.0+dfsg-2","5.33.2+dfsg-1","5.34.0+dfsg-1","5.35.0+dfsg-1ubuntu2","5.37.0+dfsg-1","5.37.0+dfsg-1build1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.24.0+ds-1","6.29.0+ds-1","7.0.0+ds-1","7.1.0+ds-1","7.1.0+ds-2","7.2.0+ds-1","7.2.0+ds-1build1","7.3.0+ds-1","7.4.0+ds-1","7.5.1+ds-1","7.5.1+ds-2","7.5.1+ds-3","7.6.0+ds-1","7.6.0+ds-1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.26.0+ds-4build1","8.3.0+ds-1","8.4.0+ds-1","8.5.0+ds-1","8.6.0+ds-1","8.7.0+ds-1","8.8.0+ds-2","8.8.0+ds-3","8.8.0+ds-3build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2.1+ds+~0.10.5-2build1","9.9.0+ds+~0.10.6-1","9.11.0+ds+~0.10.6-1","9.11.0+ds+~0.10.6-2","9.13.0+ds+~0.10.6-1","9.14.0+ds+~0.10.6-2build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.8.0+ds-3build1","8.13.0+ds+~0.10.5-3","8.14.0+ds+~0.10.5-1","8.15.0+ds+~0.10.5-1","8.16.0+ds+~0.10.5-2","8.16.2+ds+~0.10.5-1","8.16.2+ds+~0.10.5-2","8.16.2+ds+~0.10.5-3","9.2.1+ds+~0.10.5-2build1"]}],"products":[{"vendor":"calibre-ebook","product":"calibre"}],"references":[{"url":"https://github.com/0x1717/ssrf-via-img","tags":["x_transferred","Exploit","Third Party Advisory","package","report"]},{"url":"https://github.com/kovidgoyal/calibre/compare/v6.18.1...v6.19.0","tags":["x_transferred","Product","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00005.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46303","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3j9j-5462-cpx8"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46303.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-46303","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2025-0049.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33535","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTG4W7NKCI3YSS24S3XTWQKFDUAR6BN3/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2023-46303","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-46303","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-46303","description":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by default, add resources outside of the document root.","status":"published","published":"2023-10-22T00:00:00Z","modified":"2025-11-04T16:10:39.079Z","updated_at":"2026-11-02T14:35:23.309349Z"}],"euvd":[{"id":"EUVD-2023-50525","description":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by default, add resources outside of the document root.","status":"published","published":"2023-10-22T00:00:00Z","modified":"2025-11-04T16:10:39Z","updated_at":"2026-11-02T19:49:28.888576Z"}],"ghsa":[{"id":"GHSA-3j9j-5462-cpx8","title":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by...","description":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by default, add resources outside of the document root.","status":"published","published":"2023-10-22T18:30:17Z","modified":"2025-11-04T18:30:44Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-918"],"updated_at":"2026-11-02T15:04:33.412684Z"}],"nvd":[{"id":"CVE-2023-46303","description":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by default, add resources outside of the document root.","status":"published","published":"2023-10-22T18:15:08.577Z","modified":"2026-06-17T06:30:37.173Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-918"],"updated_at":"2026-11-02T14:08:39.058878Z"}],"osv":[{"id":"DEBIAN-CVE-2023-46303","description":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by default, add resources outside of the document root.","status":"published","published":"2023-10-22T18:15:08.577Z","modified":"2026-10-26T18:01:28.488053113Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:40.275853Z"},{"id":"UBUNTU-CVE-2023-46303","description":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by default, add resources outside of the document root.","status":"published","published":"2023-10-22T18:15:00Z","modified":"2026-10-17T12:56:25.882153558Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T16:54:22.741943Z"},{"id":"CVE-2023-46303","description":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre before 6.19.0 can, by default, add resources outside of the document root.","status":"published","published":"2023-10-22T00:00:00Z","modified":"2026-10-28T02:30:54.52592572Z","updated_at":"2026-11-02T15:44:34.287121Z"},{"id":"DLA-3862-1","title":"calibre - security update","status":"published","published":"2024-09-02T00:00:00Z","modified":"2026-03-09T01:17:52.464031Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"MGASA-2025-0049","title":"Updated calibre packages fix security vulnerabilities","description":"link_to_local_path in ebooks/conversion/plugins/html_input.py in calibre\nbefore 6.19.0 can, by default, add resources outside of the document\nroot. (CVE-2023-46303)\nPath traversal in Calibre \u003c= 7.14.0 allow unauthenticated attackers to\nachieve arbitrary file read. (CVE-2024-6781)\nImproper access control in Calibre 6.9.0 ~ 7.14.0 allow unauthenticated\nattackers to achieve remote code execution. (CVE-2024-6782)\nUnsanitized user-input in Calibre \u003c= 7.15.0 allow attackers to perform\nreflected cross-site scripting. (CVE-2024-7008)\nUnsanitized user-input in Calibre \u003c= 7.15.0 allow users with permissions\nto perform full-text searches to achieve SQL injection on the SQLite\ndatabase. (CVE-2024-7009)\n","status":"published","published":"2025-02-12T06:37:33Z","modified":"2026-04-16T04:41:46.740511522Z","updated_at":"2026-11-02T15:49:42.684501Z"}]}}
