{"id":"CVE-2025-26240","aliases":["CVE-2025-26240","GHSA-9g3x-6x24-vf9f","PYSEC-2026-2860"],"related":[],"kind":"vulnerability","state":"published","title":"pdfkit: Path traversal in from_string","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En JazzCore python-pdfkit 1.0.0, el método from_string permite la ejecución de código JavaScript dentro del contexto de la aplicación del servidor y la exfiltración de archivos locales.","source":"nvd"}],"published":"2026-06-17T00:00:00.000Z","modified":"2026-10-12T22:10:00.247Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":["CWE-22","CWE-120"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.0.0"}],"ecosystem":"PyPI","package":"pdfkit","purl":"pkg:pypi/pdfkit","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.0.0"}],"ecosystem":"PyPI","package":"pdfkit","purl":"pkg:pypi/pdfkit","source":"pysec"}],"references":[{"url":"https://habuon.github.io/2025/03/12/pdfkit-vulnerability-%28CVE-2025-26240%29.html","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.csirt.gov.sk/the-python-pdfkit-library-vulnerability.html","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26240","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/JazzCore/python-pdfkit","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pdfkit","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-9g3x-6x24-vf9f","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-06-17T17:26:29.872Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-26240","url":"https://www.cve.org/CVERecord?id=CVE-2025-26240","licence":"CVE Terms of Use","modified":"2026-06-17T17:27:07.439Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9g3x-6x24-vf9f","url":"https://github.com/advisories/GHSA-9g3x-6x24-vf9f","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:38.165Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-26240","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26240","licence":"Public domain","modified":"2026-10-12T22:10:00.247Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2860","url":"https://osv.dev/vulnerability/PYSEC-2026-2860","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:54.747Z"}],"updatedAt":"2026-11-25T22:59:12.325Z","epss":{"score":0.00392,"percentile":0.35482,"date":"2026-12-01T12:00:22.000Z"}}