All affected versions <2.0.0 of package jspdf are vulnerable to Cross-site Scripting (XSS)
Published Jul 6, 2020
6.1
MEDIUMCVSS 3.1
EPSS 0.97%
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 products
- Vendor n/a Product Jspdf Defaultn/a
- Version <2.0.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Jspdf | n/a |
|
No data.
No Red Hat product state for this CVE.
jspdf
npm
Introduced 0 Fixed 2.0.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | jspdf | 0 | 2.0.0 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.97% (0.00968) | 60.48th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.97% (0.00968) | 60.31th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.14% (0.00144) | 50.72th | v3 (v2023.03.01) |
| Mar 23, 2024 | 0.14% (0.00144) | 49.32th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.07% (0.00074) | 30.38th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00065) | 26.72th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Mar 31, 2022 | 2.56% (0.02561) | 62.63th | v2 (v2022.01.01) |
| Jan 6, 2022 | 2.74% (0.02742) | 62.72th | v1 |
| Jan 5, 2022 | 0.62% (0.00624) | 46.35th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (11)
- https://github.com/MrRio/jsPDF/issues/2795 x_refsource_MISCExploitThird Party Advisory
- https://github.com/advisories/GHSA-vh59-v9r5-4mh4 Advisory
- https://github.com/parallax/jsPDF/issues/2862
- https://github.com/parallax/jsPDF/issues/2971
- https://github.com/parallax/jsPDF/pull/2806
- https://nvd.nist.gov/vuln/detail/CVE-2020-7690
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-575260
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-575258
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-575259
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-575257
- https://snyk.io/vuln/SNYK-JS-JSPDF-575256 x_refsource_MISCExploitThird Party Advisory
Change history (0)
No recorded changes yet.