CVE-2025-68428: parall jspdf Path Traversal: '.../...//'
Vulnerability summary
CVE-2025-68428 is a critical (CVSS 9.2) Path Traversal: '.../...//' vulnerability in parall jspdf. EPSS estimates a 2.18% chance of exploitation in the next 30 days, higher than 82% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 05-01-2026PublishedVulnerability first disclosed.
- 07-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
- OSV · NpmEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
- NVDNIST9.2CriticalCVSS: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
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
2.18%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
0.00 pp
From 2.18% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-35Path Traversal: '.../...//'The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '.../...//' (doubled triple dot slash) sequences that can resolve to a location that is outside of that directory.
- CWE-73External Control of File Name or PathThe product allows user input to control or influence paths or file names that are used in filesystem operations.
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Chainguard52 products
- opensearch-dashboards-2< 2.19.4-r9
- opensearch-dashboards-2-alerting-dashboards-plugin< 2.19.4-r7
- opensearch-dashboards-2-anomaly-detection-dashboards-plugin< 2.19.4-r7
- opensearch-dashboards-2-dashboards-maps< 2.19.4-r7
- opensearch-dashboards-2-dashboards-notifications< 2.19.4-r7
Wolfi12 products
- opensearch-dashboards-3-alerting-dashboards-plugin< 3.4.0-r0
- opensearch-dashboards-3-anomaly-detection-dashboards-plugin< 3.4.0-r0
- opensearch-dashboards-3-dashboards-maps< 3.4.0-r0
- opensearch-dashboards-3-dashboards-notifications< 3.4.0-r0
- opensearch-dashboards-3-dashboards-observability< 3.4.0-r0
Npm1 product
- jspdf< 4.0.0
Parall1 product
- jspdf< 4.0.0
Parallax1 product
- jspdf< 4.0.0
5 vendors · 67 products
References
12 links- github.com/parallax/jsPDF/security/advisories/GHSA-f8cm-6447-x5h2X Refsource CONFIRMAdvisoryWEBThird Party Advisory
- github.com/parallax/jsPDF/commit/a688c8f479929b24a6543b1fa2d6364abb03066dX Refsource MISCFIXWEBPatch
Show all 12 references
- github.com/parallax/jsPDFPACKAGE