{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32696","published":"2021-06-18T20:15:07.633000Z","last_modified":"2026-06-17T03:53:26.750000Z","status":"Modified","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79","CWE-241","CWE-843"],"cpes":[{"criteria":"cpe:2.3:a:striptags_project:striptags:*:*:*:*:*:node.js:*:*","part":"a","vendor":"striptags_project","product":"striptags","version_end_excluding":"3.2.0"}],"cpes_truncated":false,"vendors":["striptags_project"],"products":["striptags_project/striptags"],"epss":{"score":0.01079,"percentile":0.64685,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qxg5-2qff-p49r","ecosystem":"npm","name":"striptags","purl":"pkg:npm/striptags","ranges":[{"introduced":"0","fixed":"3.2.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-32696/","html_en":"/en/cve/CVE-2021-32696/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32696","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32696"},"untrusted":{"vendor_name":"Striptags Project","product_name":"Striptags","desc_en":"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":[{"untrusted_vendor":"ericnorris","untrusted_product":"striptags","versions":[]}],"references":[{"url":"https://github.com/ericnorris/striptags/commit/f252a6b0819499cd65403707ebaf5cc925f2faca","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/ericnorris/striptags/releases/tag/v3.2.0","tags":["Third Party Advisory"]},{"url":"https://github.com/ericnorris/striptags/security/advisories/GHSA-qxg5-2qff-p49r","tags":["Third Party Advisory"]},{"url":"https://www.npmjs.com/package/striptags","tags":["Product","Third Party Advisory"]}]}}