{"id":"CVE-2025-26240","title":"pdfkit: Path traversal in from_string","summary":"pdfkit: Path traversal in from_string","severity":"high","cvss":8.4,"cwe":["CWE-22","CWE-120"],"vendor":"pdfkit","product":"pdfkit","ecosystem":"pip","affected":["pdfkit <= 1.0.0"],"published":"2026-06-17","updated":"2026-06-18","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-9g3x-6x24-vf9f","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26240"},{"url":"https://habuon.github.io/2025/03/12/pdfkit-vulnerability-%28CVE-2025-26240%29.html"},{"url":"https://www.csirt.gov.sk/the-python-pdfkit-library-vulnerability.html"},{"url":"https://github.com/advisories/GHSA-9g3x-6x24-vf9f"}],"tags":["ghsa","pip","exploit-available"],"epss":0.00392,"epssPercentile":0.30535,"ingestedAt":"2026-06-29T14:31:47.201Z","exploits":{"github":1,"githubRepos":["https://github.com/Habuon/CVE-2025-26240"],"checkedAt":"2026-09-25T08:20:47.851Z"},"exploitAvailable":true,"slug":"CVE-2025-26240","body":"## Overview\n\nIn 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.\n\n## Affected packages\n\n- `pdfkit <= 1.0.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"midnight","depthScore":58,"depthScoreParts":{"impact":46.2,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":4887,"id":"CVE-2025-26240","ts":1788887214668,"field":"exploit_available","old":"false","new":"true"},{"seq":3770,"id":"CVE-2025-26240","ts":1788886332574,"field":"exploit_available","old":"true","new":"false"},{"seq":2615,"id":"CVE-2025-26240","ts":1788883012483,"field":"exploit_available","old":"false","new":"true"},{"seq":1644,"id":"CVE-2025-26240","ts":1788882414844,"field":"exploit_available","old":"true","new":"false"},{"seq":752,"id":"CVE-2025-26240","ts":1788881850119,"field":"exploit_available","old":"false","new":"true"}]}