Description
Sanitize-html is a library for scrubbing html input of malicious values. Versions 1.11.1 and below are vulnerable to cross site scripting (XSS) in certain scenarios: If allowed at least one nonTextTags, the result is a potential XSS vulnerability.
Remediation
References
https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403
https://github.com/punkave/sanitize-html/issues/100
https://nodesecurity.io/advisories/154
Related Vulnerabilities
CVE-2020-10672 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2021-23771 Vulnerability in npm package notevil
CVE-2019-17570 Vulnerability in maven package org.apache.xmlrpc:xmlrpc-client
CVE-2021-23386 Vulnerability in npm package dns-packet
CVE-2013-4942 Vulnerability in maven package org.webjars:yui