Regular expression denial of service (ReDoS) in jspdf
Priority LOW 38CWE-400Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
Why it matters now
EPSS 0.02644 85th percentileScored 2026-11-07
Fix Fixed jspdf: 2.3.1jspdf (npm): 2.3.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | jspdf | before 2.3.1 | 2.3.1 | Patch available | CNA |
| — | jspdf (npm) | before 2.3.1 | 2.3.1 | Patch available | GHSA-57f3-gghm-9mhc |
- jspdf Vendor— Affected before 2.3.1 Fixed in 2.3.1 Patch available CNA
- jspdf (npm) Vendor— Affected before 2.3.1 Fixed in 2.3.1 Patch available GHSA-57f3-gghm-9mhc
Remediation
- Fix · CNA jspdf Fixed in 2.3.1
- Fix · GHSA-57f3-gghm-9mhc jspdf (npm) Fixed in 2.3.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23353
- 2026-10-03 Alias added: GHSA-57f3-gghm-9mhc
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-21292 jsPDF Bypass Regular Expression Denial of Service (ReDoS) 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
Sources
- CVE-2021-23353 · CVE Program
- CVE-2021-23353 · NVD
- FIRST EPSS
- GHSA-57f3-gghm-9mhc · 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