🛡️ CVE-2025-26240 — pdfkit
Description
pdfkit: Path traversal in from_string
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.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2025-26240 is classified as CWE-120: Classic Buffer Overflow. Input is copied into a fixed-size buffer without a length check, overwriting memory past the end of it.
Affected software
CVE-2025-26240 is recorded against 2 packages.
- pdfkit
- unknown
Timeline and source
Published on 17 June 2026 and last revised on 13 July 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.
References
nvd.nist.gov (Advisory)
github.com (Package)
habuon.github.io (Web)
www.csirt.gov.sk (Web)
Details
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| pdfkit | — | — |
| unknown | — | — |
References
Similar Threats
- Unknown CLSA-2026-1772496734
- Unknown DEBIAN-CVE-2025-26240
- Unknown UBUNTU-CVE-2025-26240
- Critical CVE-2022-25765
- Critical CVE-2013-1607
More CVE 2025 advisories
Browse all of CVE 2025 in the advisory index.
Site Security Check
Is pdfkit part of your stack?
CVE-2025-26240 is rated CVSS 8.4 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.