jsPDF Bypass Regular Expression Denial of Service (ReDoS)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
jsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.1, user control of the first argument of the addImage method results in CPU utilization and denial of service. If given the possibility to pass unsanitised image urls to the addImage method, a user can provide a harmful data-url that results in high CPU utilization and denial of service. Other affected methods are html and addSvgAsImage. The vulnerability was fixed in jsPDF 3.0.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| parallax | jsPDF | before 3.0.1 | 3.0.1 | Patch available | CNA |
| — | jspdf (npm) | before 3.0.1 | 3.0.1 | Patch available | GHSA-w532-jxjh-hjhj |
- jsPDF Vendorparallax Affected before 3.0.1 Fixed in 3.0.1 Patch available CNA
- jspdf (npm) Vendor— Affected before 3.0.1 Fixed in 3.0.1 Patch available GHSA-w532-jxjh-hjhj
Remediation
- Fix · CNA jsPDF (parallax) Fixed in 3.0.1
- Fix · GHSA-w532-jxjh-hjhj jspdf (npm) Fixed in 3.0.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-29907
- 2026-10-03 Alias added: GHSA-w532-jxjh-hjhj
References
More parallax Jspdf vulnerabilities
- TI-2026-20644 jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions CVSS 4.0HIGH 8.7
- TI-2025-35693 jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS) CVSS 4.0HIGH 8.7
- TI-2025-41976 jsPDF has Local File Inclusion/Path Traversal vulnerability CVSS 4.0CRITICAL 9.2
- TI-2026-24484 jsPDF has HTML Injection in New Window paths CVSS 3.1CRITICAL 9.6
- TI-2026-20823 jsPDF has PDF Object Injection via Unsanitized Input in addJS Method CVSS 3.1HIGH 8.8
- TI-2026-19451 jsPDF Affected by Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder CVSS 4.0HIGH 8.7
Sources
- CVE-2025-29907 · CVE Program
- CVE-2025-29907 · NVD
- FIRST EPSS
- GHSA-w532-jxjh-hjhj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences