QID 982052
QID 982052: Nodejs (npm) Security Update for striptags (GHSA-qxg5-2qff-p49r)
A type-confusion vulnerability can cause `striptags` to concatenate unsanitized strings when an array-like object is passed in as the `html` parameter. This can be abused by an attacker who can control the shape of their input, e.g. if query parameters are passed directly into the function.
XSS
Solution
`3.2.0`Workaround:
Ensure that the `html` parameter is a string before calling the function.
Ensure that the `html` parameter is a string before calling the function.
Vendor References
- GHSA-qxg5-2qff-p49r -
github.com/advisories/GHSA-qxg5-2qff-p49r
CVEs related to QID 982052
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-qxg5-2qff-p49r | striptags |
|