{"id":"CVE-2020-7691","published":"2020-07-06T12:25:16Z","modified":"2024-09-16T23:55:33Z","title":"Cross-site Scripting (XSS)","vendor":null,"product":null,"tier":"tail","description":{"text":"In all versions of the package jspdf, it is possible to use <<script>script> in order to go over the filtering regex.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01613,"percentile":0.76578,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-JSPDF-568273","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-575255","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-575254","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-575253","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-575252","tags":["x_refsource_MISC"]}],"priority":{"score":19.7,"factors":[{"name":"EPSS percentile","points":15.32},{"name":"CVSS severity","points":4.41}]},"affectedVersions":[{"vendor":"n/a","product":"jspdf","versions":["< unspecified"]}],"affected":[{"ecosystem":"npm","package":"jspdf","vulnerableRanges":["<2.0.0"],"patched":["2.0.0"],"from":["GHSA-3q6f-8grx-pr4v"],"provenance":"source"}],"summary":{"text":"The jspdf JavaScript PDF generation library contains a cross-site scripting flaw in its filtering logic, where a crafted input such as \"<<script>script>\" bypasses the regular expression meant to strip script content. An attacker can inject script that executes in a victim's browser when they interact with the affected content, requiring only network access and no authentication, but relying on the victim to take a user action.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:24Z"},"euvd":{"id":"EUVD-2021-0922","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-7690","published":"2020-07-06","fixed":"2.0.0","kev":false},{"cve":"CVE-2020-7691","published":"2020-07-06","fixed":"2.0.0","kev":false},{"cve":"CVE-2021-23353","published":"2021-03-09","fixed":"2.3.1","kev":false,"link":{"from":"CVE-2020-7691","to":"CVE-2021-23353","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:jspdf","fromFixed":"2.0.0","toFixed":"2.3.1","daysApart":246}]}},{"cve":"CVE-2025-29907","published":"2025-03-18","fixed":"3.0.1","kev":false},{"cve":"CVE-2025-57810","published":"2025-08-26","fixed":"3.0.2","kev":false}],"package":"npm:jspdf"}}