CVE-2025-68428: jsPDF is a library to generate PDFs in JavaScript
CVE-2025-68428 is a high-severity flaw (CVSS 7.5) affecting jspdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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. Othe
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-07 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-68428?
jspdf: upgrade to 4.0.0. Exact commands for each OS are on this page.
Is CVE-2025-68428 being exploited?
CVE-2025-68428 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-68428 affect?
CVE-2025-68428 affects jspdf. Severity is high (CVSS 7.5). 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 unsanitiz
How urgent is CVE-2025-68428?
Priority 52/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-31938 CRITICAL 9.6 UPGRADE jsPDF is a library to generate PDFs in JavaScript
- CVE-2026-31898 HIGH 8.1 UPGRADE jsPDF is a library to generate PDFs in JavaScript
- CVE-2026-24737 HIGH 8.1 UPGRADE jsPDF is a library to generate PDFs in JavaScript
- CVE-2026-24133 MEDIUM 6.5 UPGRADE jsPDF is a library to generate PDFs in JavaScript
- CVE-2026-24043 MEDIUM 5.4 UPGRADE jsPDF is a library to generate PDFs in JavaScript