Cross-site scripting in jspdf
Priority LOW 29CWE-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 · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
All affected versions <2.0.0 of package jspdf are vulnerable to Cross-site Scripting (XSS). It is possible to inject JavaScript code via the html method.
Why it matters now
EPSS 0.00968 62nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed jspdf: 2.0.0jspdf (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 | before 2.0.0 | 2.0.0 | Patch available | CNA |
| — | jspdf (npm) | before 2.0.0 | 2.0.0 | Patch available | GHSA-vh59-v9r5-4mh4 |
- jspdf Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available CNA
- jspdf (npm) Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available GHSA-vh59-v9r5-4mh4
Remediation
- Fix · CNA jspdf Fixed in 2.0.0
- Fix · GHSA-vh59-v9r5-4mh4 jspdf (npm) Fixed in 2.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7690
- 2026-10-03 Alias added: GHSA-vh59-v9r5-4mh4
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-7690 · CVE Program
- CVE-2020-7690 · NVD
- FIRST EPSS
- GHSA-vh59-v9r5-4mh4 · 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