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://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443
https://runkit.com/embed/w306l6zfm7tu
Related Vulnerabilities
CVE-2021-23388 Vulnerability in npm package forms
CVE-2022-43426 Vulnerability in maven package io.jenkins.plugins:s3explorer
CVE-2020-26939 Vulnerability in maven package org.bouncycastle:bcprov-ext-jdk15to18
CVE-2019-17570 Vulnerability in maven package org.apache.xmlrpc:xmlrpc
CVE-2020-26226 Vulnerability in npm package semantic-release