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.
https://runkit.com/embed/w306l6zfm7tu
https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a
https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443
https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4
Source: Mitre, NVD
Published: 2022-09-26
Updated: 2026-06-17
Base Score: 6.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N
Severity: Medium
Base Score: 6.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS: 0.00096