Vulnerability Details CVE-2021-32696
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.003
EPSS Ranking 52.2%
CVSS Severity
CVSS v3 Score 3.7
CVSS v2 Score 5.0
Products affected by CVE-2021-32696
-
cpe:2.3:a:striptags_project:striptags:-
-
cpe:2.3:a:striptags_project:striptags:1.0.0
-
cpe:2.3:a:striptags_project:striptags:2.0.0
-
cpe:2.3:a:striptags_project:striptags:2.0.1
-
cpe:2.3:a:striptags_project:striptags:2.0.2
-
cpe:2.3:a:striptags_project:striptags:2.0.3
-
cpe:2.3:a:striptags_project:striptags:2.0.4
-
cpe:2.3:a:striptags_project:striptags:2.1.0
-
cpe:2.3:a:striptags_project:striptags:2.1.1
-
cpe:2.3:a:striptags_project:striptags:2.1.2
-
cpe:2.3:a:striptags_project:striptags:2.2.0
-
cpe:2.3:a:striptags_project:striptags:2.2.1
-
cpe:2.3:a:striptags_project:striptags:3.0.0
-
cpe:2.3:a:striptags_project:striptags:3.0.1
-
cpe:2.3:a:striptags_project:striptags:3.1.0
-
cpe:2.3:a:striptags_project:striptags:3.1.1