CVE-2020-7690 json
Cross-site scripting in jspdf
published 2020-07-06 6 y ago modified 2026-07-08 4 mo ago also GHSA-vh59-v9r5-4mh4 , EUVD-2021-1202
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
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.
Patch / fix
Exploit prediction
0.97% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-JSPDF-575256 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/MrRio/jsPDF/issues/2795 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jspdf | <2.0.0 |
2.0.0 |
Affected products
- n/a jspdf
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/parallax/jsPDF/pull/2806
web
-
snyk.io
/vuln/SNYK-JS-JSPDF-575256
web, exploit, third-party-advisory
-
github.com
/MrRio/jsPDF/issues/2795
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7690
advisory
-
github.com
/parallax/jsPDF/issues/2862
web
-
github.com
/parallax/jsPDF/issues/2971
web
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARS-575260
web
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSBOWER-575258
web
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-575259
web
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-575257
web
Sources
- CVE List CVE-2020-7690
- GitHub Advisory GHSA-vh59-v9r5-4mh4
- NVD CVE-2020-7690
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.