What’s Vulnerable › Vulnerabilities
CVE-2022-21169: Prototype Pollution
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-09-26 · updated 2026-06-17
- Weakness: CWE-1321
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.
Affected products
- express-xss-sanitizer: before 1.1.3 — fixed in 1.1.3
How to fix
Upgrade to a fixed version: express-xss-sanitizer 1.1.3. Check the vendor advisory for mitigations.
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
- 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
Get alerted when CVE-2022-21169 or the next vulnerability affects your stack