{"id":"CVE-2022-21169","summary":"Prototype Pollution","details":"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.","aliases":["GHSA-grjp-4jmr-mjcw"],"modified":"2026-08-12T03:51:47.034890778Z","published":"2022-09-26T05:05:11.200Z","database_specific":{"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21169.json"},"references":[{"type":"WEB","url":"https://runkit.com/embed/w306l6zfm7tu"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21169.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21169"},{"type":"REPORT","url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4"},{"type":"FIX","url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ahmedadelfahim/express-xss-sanitizer","events":[{"introduced":"0"},{"fixed":"a90ee0b5ac15fa1b300663d49d5b8b0d6f242d23"},{"fixed":"3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:express_xss_sanitizer_project:express_xss_sanitizer:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.1.3"}]}}],"versions":["v1.1.2","v1.1.1","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21169.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P"}]}