Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in org.webjars.npm:svgo
Cx58764d82-8c21
- org.webjars.npm:svgo
- svgo
Summary
SVGO's removeScripts plugin (disabled by default) removes scripts from the SVG, however executable scripts were left intact in some cases. If a consumer relied on this plugin for sanitization and served them to users, these SVGs could open up doors to XSS. All versions from 1.0.0 prior to 2.8.3, 3.0.0 prior to 3.3.4, and 4.0.0 prior to 4.0.2 are affected.
- LOW
- NETWORK
- LOW
- CHANGED
- REQUIRED
- NONE
- HIGH
- NONE
CWE-79 - Cross Site Scripting
Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.
References
Advisory Timeline
- Published