Vulnerability · Published Sep 26, 2022 · Assigned by snyk
CVE-2022-21169Prototype Pollution
High 7.3
In plain English
A high-severity prototype pollution in express-xss-sanitizer. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)1.0%top 38.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | express-xss-sanitizer | 1.1.3 | GHSA-grjp-4jmr-mjcw |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | express-xss-sanitizer | unspecified – before 1.1.3 |
Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
References
- https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443 x_refsource_MISC
- https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4 x_refsource_MISC
- https://runkit.com/embed/w306l6zfm7tu x_refsource_MISC
- https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a x_refsource_MISC