CVE-2025-68428 json
jsPDF has Local File Inclusion/Path Traversal vulnerability
published 2026-01-05 10 mo ago modified 2026-10-07 33 d ago also EUVD-2026-0847 , GHSA-f8cm-6447-x5h2
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm jspdf 4.0.0
- Red Hat Red Hat Advanced Cluster Security 4.8 1769615659
- Red Hat Red Hat Advanced Cluster Security 4.9 1770074713, 1770250889
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-68428 updated cvss 8.6
jspdf: jsPDF Local File Inclusion/Path Traversal vulnerability
-
Red Hat Advanced Cluster Security 4.8 advanced-cluster-security 1769615659fixed: vendor fix RHSA-2026:1517
-
Red Hat Advanced Cluster Security 4.9 advanced-cluster-security 1770074713, advanced-cluster-security 1770250889fixed: vendor fix RHSA-2026:2350
-
Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-central-db-rhel8, advanced-cluster-security/rhacs-scanner-v4-rhel8, advanced-cluster-security/rhacs-scanner-v4-db-rhel8not affected: component not present
-
Red Hat Advanced Cluster Security 4.8 advanced-cluster-security 1769010086, advanced-cluster-security 1769125501, advanced-cluster-security 1769615659 Red Hat Advanced Cluster Security 4.9 advanced-cluster-security 1769065259, advanced-cluster-security 1769100379, advanced-cluster-security 1769492398, advanced-cluster-security 1769577723, advanced-cluster-security 1770074713, advanced-cluster-security 1770250889not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 10 mo ago
Exploit prediction
2.18% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.2 | 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 |
| CISA ADP | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| CNA | 4.0 | 9.2 | 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 |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jspdf | <4.0.0 |
4.0.0 |
Affected products
- parallax jsPDF
- Red Hat Red Hat Advanced Cluster Security 4.8
- Red Hat Red Hat Advanced Cluster Security 4.9
- Red Hat Red Hat Advanced Cluster Security 4
Classification
References
-
github.com
/parallax/jsPDF/commit/a688c8f479929b24a6543b1fa2d6364abb03066d
web, patch
-
access.redhat.com
/errata/RHSA-2026:1517
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:2350
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:2568
vendor-advisory
-
github.com
/parallax/jsPDF/security/advisories/GHSA-f8cm-6447-x5h2
web, third-party-advisory
-
github.com
/parallax/jsPDF/releases/tag/v4.0.0
web, product, release-notes
-
access.redhat.com
/security/cve/CVE-2025-68428
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2427236
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2025/cve-2025-68428.json
-
nvd.nist.gov
/vuln/detail/CVE-2025-68428
advisory
-
github.com
/parallax/jsPDF
package
Sources
- CVE List CVE-2025-68428
- GitHub Advisory GHSA-f8cm-6447-x5h2
- NVD CVE-2025-68428
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.