CVE-2025-68428
CVE-2025-68428 — jsPDF has Local File Inclusion/Path Traversal vulnerability
jsPDF is a library to generate PDFs in JavaScript. Prior to version 4.0.0, user control of the first argument of the loadFile method in the node.js build allows local file inclusion/path traversal. If given the possibility to pass unsanitized paths to the loadFile method, a user can retrieve file contents of arbitrary files in the local file system the node process is running in. The file contents are included verbatim in the generated PDFs. Other affected methods are `addImage`, `html`, and `addFont`. Only the node.js builds of the library are affected, namely the `dist/jspdf.node.js` and `dist/jspdf.node.min.js` files. The vulnerability has been fixed in [email protected]. This version restricts file system access per default. This semver-major update does not introduce other breaking changes. Some workarounds areavailable. With recent node versions, jsPDF recommends using the…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
2%
chance of exploitation in 30 days
CVSS base
8.6
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.6 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-35
- CWE-73
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /path, /jspdf.node.js, /jspdf.node.min.js.
References
9 on the record
- github.com/parallax/jsPDF/security/advisories/GHSA-f8cm-6447-x5h2
x_refsource_CONFIRM
- github.com/parallax/jsPDF/commit/a688c8f479929b24a6543b1fa2d6364abb03066d
x_refsource_MISC
- github.com/parallax/jsPDF/releases/tag/v4.0.0
x_refsource_MISC
- access.redhat.com/security/cve/CVE-2025-68428
vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgi?id=2427236
issue-tracking, x_refsource_REDHAT
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68428.json
x_sadp-csaf-vex
- access.redhat.com/errata/RHSA-2026:1517
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:2350
vendor-advisory, x_refsource_REDHAT
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-90817 Vanderbilt University Research Electronic Data Capture (REDCap) Code Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2020-1631 Juniper Junos OS Path Traversal VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-33053 Microsoft Windows External Control of File Name or Path VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2025-8088 Path traversal vulnerability in WinRARCVSS 8.8 · CISA KEV
- CVE-2026-96656 Plex Media Server arbitrary file writeCVSS 7.2 · CISA KEV
- CVE-2025-0111 Palo Alto Networks PAN-OS File Read VulnerabilityCVSS 6.5 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.