Cross-site scripting (XSS) in jspdf
Priority LOW 31CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
In all versions of the package jspdf, it is possible to use <<script>script> in order to go over the filtering regex.
Why it matters now
EPSS 0.01573 75th percentileScored 2026-11-07
Fix Fixed jspdf (npm): 2.0.0
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 | all versions | — | No fix listed | CNA |
| — | jspdf (npm) | before 2.0.0 | 2.0.0 | Patch available | GHSA-3q6f-8grx-pr4v |
- jspdf Vendor— Affected all versions Fixed in — No fix listed CNA
- jspdf (npm) Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available GHSA-3q6f-8grx-pr4v
Remediation
- Fix · GHSA-3q6f-8grx-pr4v jspdf (npm) Fixed in 2.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7691
- 2026-10-03 Alias added: GHSA-3q6f-8grx-pr4v
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-2020-7691 · CVE Program
- CVE-2020-7691 · NVD
- FIRST EPSS
- GHSA-3q6f-8grx-pr4v · 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