QID 994854
Date Published: 2023-08-17
QID 994854: NodeJs (Npm) Security Update for external-svg-loader (GHSA-xc2r-jf2x-gjr8)
According to the docs, svg-loader will strip all JS code before injecting the SVG file for security reasons but the input sanitization logic is not sufficient and can be trivially bypassed. This allows an attacker to craft a malicious SVG which can result in XSS.
Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.
Solution
Refer to Github security advisory GHSA-xc2r-jf2x-gjr8 for updates and patch information.
Vendor References
- GHSA-xc2r-jf2x-gjr8 -
github.com/advisories/GHSA-xc2r-jf2x-gjr8
CVEs related to QID 994854
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-xc2r-jf2x-gjr8 | external-svg-loader |
|