{"id":"GHSA-9g3x-6x24-vf9f","summary":"pdfkit: Path traversal in from_string","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.","aliases":["CVE-2025-26240","PYSEC-2026-2860"],"modified":"2026-07-13T16:43:38.165698783Z","published":"2026-06-17T18:35:56Z","database_specific":{"nvd_published_at":"2026-06-17T17:16:38Z","cwe_ids":["CWE-120","CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-06-18T14:38:10Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26240"},{"type":"PACKAGE","url":"https://github.com/JazzCore/python-pdfkit"},{"type":"WEB","url":"https://habuon.github.io/2025/03/12/pdfkit-vulnerability-%28CVE-2025-26240%29.html"},{"type":"WEB","url":"https://www.csirt.gov.sk/the-python-pdfkit-library-vulnerability.html"}],"affected":[{"package":{"name":"pdfkit","ecosystem":"PyPI","purl":"pkg:pypi/pdfkit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"versions":["0.2.3","0.2.4","0.3.0","0.4.0","0.4.1","0.5.0","0.6.0","0.6.1","1.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9g3x-6x24-vf9f/GHSA-9g3x-6x24-vf9f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}