{"id":"GHSA-vh59-v9r5-4mh4","summary":"Cross-site scripting in jspdf","details":"Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It's possible to inject JavaScript code via the `html` method.","aliases":["CVE-2020-7690","SNYK-JS-JSPDF-575256"],"modified":"2026-05-07T04:57:16.299704361Z","published":"2021-05-17T21:01:32Z","database_specific":{"nvd_published_at":"2020-07-06T13:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-05-11T17:38:24Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7690"},{"type":"WEB","url":"https://github.com/MrRio/jsPDF/issues/2795"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/issues/2862"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/issues/2971"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/pull/2806"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-575260"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-575258"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-575259"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-575257"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-JSPDF-575256"}],"affected":[{"package":{"name":"jspdf","ecosystem":"npm","purl":"pkg:npm/jspdf"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-vh59-v9r5-4mh4/GHSA-vh59-v9r5-4mh4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}