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.
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
Link | Tags |
---|---|
https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443 | third party advisory exploit |
https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4 | issue tracking exploit third party advisory |
https://runkit.com/embed/w306l6zfm7tu | url repurposed third party advisory patch |
https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a | third party advisory patch |