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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P |
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.95% · top 38% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Weakness
Affected products
express-xss-sanitizer
- affected unspecified – < 1.1.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmexpress-xss-sanitizerGHSA-grjp-4jmr-mjcw (opens in a new tab)
References (4)
- https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4 (opens in a new tab)x_refsource_MISCx_transferred
- https://runkit.com/embed/w306l6zfm7tu (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-grjp-4jmr-mjcw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-21169)Record last updated .