CVE-2025-68428: critical vulnerability in parallax jsPDF
jsPDF has Local File Inclusion/Path Traversal vulnerability
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
50Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 9.2epss 2.2%
from disclosure to weapon3 days
Published on NVDJan 5
1st PoC+3d
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.
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
Affected products
parallax · jsPDFpublic PoCs found — 2
githubgithub.com/12nio/CVE-2025-68428_PoC★ 24githubgithub.com/Nurjaman2004/jsPDF-Bulk-Detector-CVE-2025-68428-★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — parallax jsPDF
In the same product, most dangerous first.
CVE-2026-25755HIGHjsPDF has PDF Object Injection via Unsanitized Input in addJS MethodEPSS 1.0%CVE-2026-25535HIGHjsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF DimensionsEPSS 0.8%CVE-2025-29907HIGHjsPDF Bypass Regular Expression Denial of Service (ReDoS)EPSS 0.7%CVE-2025-57810HIGHjsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)EPSS 0.7%CVE-2026-24133HIGHjsPDF Affected by Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoderEPSS 0.6%CVE-2026-24737HIGHjsPDF has a PDF Injection in AcroFormChoiceField which allows Arbitrary JavaScript ExecutionEPSS 0.6%
References
https://access.redhat.com/errata/RHSA-2026:1517https://access.redhat.com/errata/RHSA-2026:2350https://access.redhat.com/errata/RHSA-2026:2568https://access.redhat.com/security/cve/CVE-2025-68428https://bugzilla.redhat.com/show_bug.cgi?id=2427236https://github.com/parallax/jsPDF/commit/a688c8f479929b24a6543b1fa2d6364abb03066dhttps://github.com/parallax/jsPDF/releases/tag/v4.0.0https://github.com/parallax/jsPDF/security/advisories/GHSA-f8cm-6447-x5h2https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68428.json