GitHub Advisoryadvisory · PyPI

GHSA-9g3x-6x24-vf9f pdfkit: Path traversal in from_string

HIGH Published 2026-06-17 Modified 2026-06-18 Official page ↗
Aliases
CVE-2025-26240
Ecosystem
PyPI
Packages
pdfkit
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-120, CWE-22
Reviewed
2026-06-18

Affected packages

• PyPI pdfkit: <= 1.0.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2025-26240 In JazzCore python-pdfkit 1.0.0, the from_string method enables the execution of JavaScript code within the context of the server… vulnerability

Weakness · CWE (2)

  • CWE-120 Buffer Copy without Checking Size of Input weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References