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-2021-39199 Vulnerability in npm package remark-html
CVE-2020-5259 Vulnerability in maven package org.webjars.bowergithub.dojo:dojox
CVE-2021-43859 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2021-43306 Vulnerability in maven package org.webjars:jquery-validation
CVE-2019-3875 Vulnerability in maven package org.keycloak:keycloak-server-spi-private