CVE-2020-7690 Details
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.
A cross-site scripting (XSS) vulnerability exists in the jsPDF package, specifically in versions prior to 2.0.0. This issue allows the injection of JavaScript code through the 'html' method, which is executed in the user's context. The vulnerability arises because the 'html' method does not properly sanitize input before rendering it, enabling the execution of malicious scripts.
Upgrade jsPDF to version 2.0.0 or higher.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MrRio/jsPDF/issues/2795 | CVE | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-JSPDF-575256 | CVE | ExploitThird Party Advisory |
| https://github.com/MrRio/jsPDF/issues/2795 | [email protected] | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-JSPDF-575256 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| parall jspdf | < 2.0.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 2, 2023 | Modified Analysis | [email protected] |
| Aug 24, 2020 | CVE Modified | [email protected] |
| Aug 24, 2020 | CVE Modified | [email protected] |
| Jul 14, 2020 | Initial Analysis | [email protected] |
| Jul 7, 2020 | CVE Modified | [email protected] |