{"id":"CVE-2022-21169","published":"2022-09-26T05:05:11Z","modified":"2025-05-21T20:29:25Z","title":"Prototype Pollution","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00974,"percentile":0.62927,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443","tags":["x_refsource_MISC"]},{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4","tags":["x_refsource_MISC"]},{"url":"https://runkit.com/embed/w306l6zfm7tu","tags":["x_refsource_MISC"]},{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a","tags":["x_refsource_MISC"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":12.59},{"name":"CVSS severity","points":5.11}]},"affectedVersions":[{"vendor":"n/a","product":"express-xss-sanitizer","versions":[">= unspecified, < 1.1.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-21T20:29:10.261035Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"express-xss-sanitizer","vulnerableRanges":["<1.1.3"],"patched":["1.1.3"],"from":["GHSA-grjp-4jmr-mjcw"],"provenance":"source"}],"summary":{"text":"The Prototype Pollution flaw lives in the express-xss-sanitizer npm package, versions before 1.1.3, where the allowedTags attribute can be abused to modify object prototypes. An attacker who can supply input to that attribute, without authentication or user interaction and over the network, can bypass the package's XSS sanitization.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:42:55Z"},"euvd":{"id":"EUVD-2022-6830","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-express-xss-sanitizer-cve-2022-21169","children":[{"from":"CVE-2022-21169","to":"CVE-2025-59364","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/sanitize.js"],"commits":["https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a","https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/62d6542a2a57298da7a2e02de623454007e4f6d6"],"basis":"rarely changed file"}]},{"from":"CVE-2022-21169","to":"CVE-2026-33979","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/sanitize.js"],"commits":["https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a","https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/5623009ef11dcf095c163a38dea07b9cc22ad19f"],"basis":"rarely changed file"}]}]}}