{"id":"UBUNTU-CVE-2025-26240","details":"In JazzCore python-pdfkit 1.0.0, the from_string method enables the execution of JavaScript code within the context of the server application and the exfiltration of local files.","modified":"2026-07-29T10:18:47.293520094Z","published":"2026-06-17T17:16:00Z","upstream":["CVE-2025-26240"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-26240"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-26240"},{"type":"REPORT","url":"https://habuon.github.io/2025/03/12/pdfkit-vulnerability-%28CVE-2025-26240%29.html"}],"affected":[{"package":{"name":"pdfkit","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pdfkit?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-pdfkit","binary_version":"0.5.0-1"},{"binary_name":"python3-pdfkit","binary_version":"0.5.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26240.json"}},{"package":{"name":"pdfkit","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pdfkit?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-pdfkit","binary_version":"0.6.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26240.json"}},{"package":{"name":"pdfkit","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pdfkit?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.1-2","1.0.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-pdfkit","binary_version":"1.0.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26240.json"}},{"package":{"name":"pdfkit","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pdfkit?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-2","1.0.0-3","1.0.0-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.0-4","binary_name":"python3-pdfkit"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26240.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}