CVE-2022-21169
Express Xss Sanitizer Project Express Xss Sanitizer vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Express Xss Sanitizer Project Express Xss Sanitizer runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1 · Patch
- runkit.com/embed/w306l6zfm7tu · Patch
- github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4 · Exploit
- security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-21169
- cve.org/CVERecord?id=CVE-2022-21169
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.