GitHub Advisoryadvisory · npm
GHSA-3q6f-8grx-pr4v Cross-site scripting in jspdf
MEDIUM
Official page ↗
- Aliases
- CVE-2020-7691
- Ecosystem
- npm
- Packages
- jspdf
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2021-04-09
Affected packages
• npm jspdf: < 2.0.0 → fixed in 2.0.0
Description
It's possible to use nested script tags in order to bypass the filtering regex.
Related
Alias · CVE (1)
- CVE-2020-7691 In all versions of the package jspdf, it is possible to use <<script>script> in order to go over the filtering regex. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-7691 advisory
- https://github.com/MrRio/jsPDF/issues/2971 web
- https://github.com/MrRio/jsPDF/commit/d0323215b1a1cd1c35bf2b213274ae1e4797715d web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-575255 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-575253 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-575254 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-575252 web
- https://snyk.io/vuln/SNYK-JS-JSPDF-568273 web