QID 983175
QID 983175: Nodejs (npm) Security Update for sanitize-html (GHSA-wg96-3933-j2w5)
Affected versions of `sanitize-html` are vulnerable to cross-site scripting.
## Proof of Concept:
`<IMG SRC= onmouseover="alert('XSS');">`
produces the following:
`<img src="onmouseover="alert('XSS');"" />`
This is definitely invalid HTML, but would suggest that it's being interpreted incorrectly by the parser.
## Recommendation
Update to version 1.2.3 or later.
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-wg96-3933-j2w5 for updates pertaining to this vulnerability.
Vendor References
- GHSA-wg96-3933-j2w5 -
github.com/advisories/GHSA-wg96-3933-j2w5
CVEs related to QID 983175
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-wg96-3933-j2w5 | sanitize-html |
|