Vulnerability · Published Jul 6, 2020 · Assigned by snyk
CVE-2020-7690
Medium 6.1
In plain English
A medium-severity cross-site scripting in jspdf. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)1.0%top 38.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | jspdf | 2.0.0 | GHSA-vh59-v9r5-4mh4 |
Affected products (as reported)
Weakness: CWE-79
References
- https://snyk.io/vuln/SNYK-JS-JSPDF-575256 x_refsource_MISC
- https://github.com/MrRio/jsPDF/issues/2795 x_refsource_MISC