Description
The package express-xss-sanitizer before 1.1.3 are vulnerable to Prototype Pollution via the allowedTags attribute, allowing the attacker to bypass xss sanitization.
Remediation
References
https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a
https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4
https://runkit.com/embed/w306l6zfm7tu
https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443
Related Vulnerabilities
CVE-2019-19919 Vulnerability in maven package org.webjars:handlebars
CVE-2020-10688 Vulnerability in maven package org.jboss.resteasy:resteasy-core
CVE-2022-31160 Vulnerability in maven package org.fujion.webjars:jquery-ui
CVE-2020-26256 Vulnerability in npm package fast-csv
CVE-2018-20595 Vulnerability in maven package org.hswebframework.web:hsweb-system-oauth2-client-web