CVE-2025-68428
A public proof of concept exists; no exploitation attested.
- Published2026-01-05
- Fixed in4.0.0
- WeaknessCWE-22 · CWE-35 · CWE-73
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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 jsPDF@4.0.0. 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 `--permission` flag in production. The feature was introduced experimentally in v20.0.0 and is stable since v22.13.0/v23.5.0/v24.0.0. For older node versions, sanitize user-provided paths before passing them to jsPDF.
Timeline
dates in UTC- 2026-01-0522:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.0 | < 4.0.0 | 4.0.0 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- parallax jsPDFAffected
- = < 4.0.0no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-01-05
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- @rootio/jspdfRoot:npmall versions · fixed in 2.5.2-root.io.1
- jspdfTuxCare:npmfrom 2.5.2-tuxcare.0 · fixed in 2.5.2-tuxcare.4
- jspdfTuxCare:npmfrom 3.0.4-tuxcare.0 · fixed in 3.0.4-tuxcare.2
- jspdfTuxCare:npmfrom 2.5.1-tuxcare.0 · fixed in 2.5.1-tuxcare.1
- jspdfTuxCare:npmfrom 1.4.1-tuxcare.0 · fixed in 1.4.1-tuxcare.1
- jspdfRoot:npmall versions · fixed in 2.5.2+aikido.2and 1 other package
- jspdfRoot:npmall versions · fixed in 2.5.2-aikido.1
- opensearch-dashboards-2Chainguardall versions · fixed in 2.19.4-r9
4 more package ranges on OSV.dev
Vendor advisories
jspdf: jsPDF Local File Inclusion/Path Traversal vulnerability
Red Hat Security Advisory: RHACS 4.9.3 security and bug fix update
Red Hat Security Advisory: RHACS 4.9.3 security and bug fix update
Red Hat Security Advisory: RHACS 4.8.8 security and bug fix update
Fix
- Update Parall jspdf to 4.0.0
- Vendor fix Red Hat Product Security RHSA-2026:2568 · 4 productsIf you are using an earlier version of RHACS, you are advised to upgrade to the version of RHACS mentioned in the synopsis and release notes in order to take advantage of the enhancements, bug fixes, and/or security patches in the release.
- Workaround from the vendor Red Hat Product Security RHSA-2026:2568 · 45 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Advisories and patches
- github.comPatch
- github.comRelease Notes
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-0112nio/CVE-2025-68428_PoCNurjaman2004/jsPDF-Bulk-Detector-CVE-2025-68428-
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-01-06
- CNACVSS 4.09.2known since 2026-10-23
- CNACVSS 3.18.6known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-35, CWE-73known since 2026-10-23
- NVDweakness (CWE)CWE-22read 2026-10-23
- FIRST EPSSEPSS score2.2 %2026-11-08
- PoC-in-GitHubproof of concept2known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2026-01-05
Identifiers
- CGA-243p-w3m6-fwv3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-25gr-8f8w-2gcxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2rmh-w924-x422same flawChainguard · CC-BY-NC-ND-4.0
- CGA-32vc-j5gp-qvhvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-33fg-8mgr-626gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-33pm-2j52-2x4gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-34r8-8q3f-hqjfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3r2v-rx52-64rxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-437h-8vr8-3px4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4vm2-h94x-q2g3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4wh9-xh5w-rwj2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4xv7-228g-fqvcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4xww-4qw2-3wv7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-54j5-f27c-qpp4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-59qg-p94m-hjm9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5jw2-rjwf-q4mpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5jwp-j9fw-c68xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5p7j-qp8c-xffxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-64w6-4gjv-x2rpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6jqf-7x9f-6gw9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6rv6-vhc9-x3fcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-727g-v93f-25vmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-72fw-hj53-jrgpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-77gj-wf6p-r489same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7rcq-j8rv-7g76same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8224-45gh-wf9rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-89pw-534m-r6vhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8q7v-q594-xvxwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8wvf-f6wm-xh2jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9522-x938-fhf5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-959m-2r3g-g976same flawChainguard · CC-BY-NC-ND-4.0
- CGA-96qw-q766-hjr9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-99h8-2hfg-r43wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9f22-23jp-x633same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9f8f-57p5-7hx8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9g58-5hqg-c8wwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c98r-fj78-38r7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-cj9x-hrv7-7p6hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cmh2-4p7v-92prsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cqrq-wc9v-m5cjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cxrr-9q96-frq4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f645-59gr-7mhjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f8h5-c3c6-7gpmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fffm-x57w-jm72same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fhj6-gx7g-727psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fqc2-j7cf-8x5qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fv2q-46wf-2hwpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g93p-wjcq-ff66same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gc9h-gm6c-7rr7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gcr9-g38m-33gjsame flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 4.0 vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2026-01-05
- Last Modified
- 2026-10-07
- NVD status
- Modified
- GitHub Advisory
- GHSA-f8cm-6447-x5h2
Frequently asked questions
What is CVE-2025-68428?
Is CVE-2025-68428 actively exploited?
What is the CVSS score for CVE-2025-68428?
Running jspdf? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-f8cm-6447-x5h2
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0