GHSA-grjp-4jmr-mjcw
express-xss-sanitizer vulnerable to Prototype Pollution via allowedTags attribute
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | express-xss-sanitizer | < 1.1.3 | 1.1.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
The package express-xss-sanitizer before 1.1.3 is vulnerable to Prototype Pollution via the `allowedTags` attribute, allowing the attacker to bypass xss sanitization.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-21169
- https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4
- https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a
- https://github.com/AhmedAdelFahim/express-xss-sanitizer
- https://runkit.com/embed/w306l6zfm7tu
- https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443