CVE-2021-32696: Passing in a non-string 'html' argument can lead to unsanitized output
ericnorris · striptags
Affected: ericnorris striptags · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 65% of scored CVEs
DescriptionCVE.org
The npm package "striptags" is an implementation of PHP's strip_tags in Typescript. In striptags before version 3.2.0, 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. This can lead to a XSS.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- ericnorris · striptags< 3.2.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- June 2021
CoverageNo articles yet
No CyberSIXT article names CVE-2021-32696 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-241cwe.mitre.org
- github.com/ericnorris/striptags/security/advisories/GHSA-qxg5-2qgithub.com
- github.com/ericnorris/striptags/commit/f252a6b0819499cd65403707egithub.com
- github.com/ericnorris/striptags/releases/tag/v3.2.0github.com
- npmjs.com/package/striptagsnpmjs.com