Home / parallax / jsPDF / CVE-2025-68428
CVE-2025-68428: is it exploited, and which versions of parallax jsPDF are affected and fixed?
CVE-2025-68428 is a path traversal vulnerability in parallax jsPDF. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: jspdf before 4.0.0 (GitHub advisory GHSA-f8cm-6447-x5h2). Fixed in 4.0.0 (GitHub advisory GHSA-f8cm-6447-x5h2). Severity: Critical (9.2, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:14 UTC.
What is 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 `--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.
From the CVE record by GitHub_M, last updated September 7, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| parallax | jsPDF | < 4.0.0 |
As the CVE record by GitHub_M states it, last updated September 7, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | jspdf | < 4.0.0 | 4.0.0 | GHSA-f8cm-6447-x5h2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 6, 2026. Summary: jsPDF has Local File Inclusion/Path Traversal vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| parall | jspdf | before 4.0.0 | application |
NVD analysis (status Modified), last modified October 7, 2026, 10:10 UTC.
How severe is CVE-2025-68428?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.2 | CVSS 4.0 | 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 | GitHub_M |
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | redhat-SADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-68428 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, January 6, 2026)
- EPSS
- 2.18% probability of exploitation activity in the next 30 days, percentile 82.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-35 Path Traversal: '.../...//'
- CWE-73 External Control of File Name or Path
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/parallax/jsPDF/security/advisories/GHSA-f8cm-6447-x5h2 x_refsource_CONFIRM
- https://github.com/parallax/jsPDF/commit/a688c8f479929b24a6543b1fa2d6364abb03066d x_refsource_MISC
- https://github.com/parallax/jsPDF/releases/tag/v4.0.0 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2025-68428 vdb-entry, x_refsource_REDHAT
- RHBZ#2427236 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68428.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:1517 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:2350 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:2568 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- December 17, 2025
- Published
- January 5, 2026, 21:43 UTC
- CVE record updated
- September 7, 2026, 12:04 UTC by GitHub_M
- NVD
- Modified, last modified October 7, 2026, 10:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect jsPDF?
- Mar 18, 2026CVE-2026-31938 parallax jsPDF: cross-site scripting (XSS)
- Mar 18, 2026CVE-2026-31898 parallax jsPDF: improper output encoding
- Feb 19, 2026CVE-2026-25940 parallax jsPDF: improper output encoding
- Feb 19, 2026CVE-2026-25755 parallax jsPDF: code injection (remote code execution)
- Feb 19, 2026CVE-2026-25535 parallax jsPDF: denial of service (uncontrolled resource consumption)
- Feb 2, 2026CVE-2026-24040 parallax jsPDF: race condition
- Feb 2, 2026CVE-2026-24043 parallax jsPDF: injection
- Feb 2, 2026CVE-2026-24133 parallax jsPDF: denial of service (resources allocated without limits)
Questions about CVE-2025-68428
Is CVE-2025-68428 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 2.18% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of parallax jsPDF are affected by CVE-2025-68428?
jspdf before 4.0.0, per the GitHub advisory GHSA-f8cm-6447-x5h2. The tables above give every range the sources list.
Which version fixes CVE-2025-68428?
4.0.0, per the GitHub advisory GHSA-f8cm-6447-x5h2. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-68428?
Critical (9.2, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-68428?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.