{"id":"CVE-2022-21169","aliases":["CVE-2022-21169","GHSA-grjp-4jmr-mjcw"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete express-xss-sanitizer versiones anteriores a 1.1.3, es vulnerable a una Contaminación de Prototipos por medio del atributo allowedTags, permitiendo al atacante omitir el saneo de tipo xss.","source":"nvd"}],"published":"2022-09-26T05:05:11.200Z","modified":"2026-06-17T04:25:40.183Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.1.3","status":"affected"}],"product":"express-xss-sanitizer","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.3"}],"ecosystem":"npm","package":"express-xss-sanitizer","purl":"pkg:npm/express-xss-sanitizer","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.1.3"}],"vendor":"express_xss_sanitizer_project","product":"express_xss_sanitizer","cpe":"cpe:2.3:a:express_xss_sanitizer_project:express_xss_sanitizer:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4","tags":["exploit","issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://runkit.com/embed/w306l6zfm7tu","tags":["patch","third-party-advisory","url-repurposed","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21169","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer","tags":["package"],"sources":["ghsa"]}],"credits":["Jayateertha Guruprasad"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-21T20:29:10.261Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-21169","url":"https://www.cve.org/CVERecord?id=CVE-2022-21169","licence":"CVE Terms of Use","modified":"2025-05-21T20:29:25.084Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-grjp-4jmr-mjcw","url":"https://github.com/advisories/GHSA-grjp-4jmr-mjcw","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:04.407Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-21169","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21169","licence":"Public domain","modified":"2026-06-17T04:25:40.183Z"}],"updatedAt":"2026-11-25T22:58:15.289Z","epss":{"score":0.00974,"percentile":0.63123,"date":"2026-12-02T12:00:21.000Z"}}