jazzcore/python-pdfkit · Security
pdfkit: Path traversal in from_string
- GHSA ID
- GHSA-9g3x-6x24-vf9f
- CVE ID
- CVE-2025-26240
- Severity
- high
- Published
- Updated
- CVSS
- 8.4 · CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.4 · CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')