Vulnerability Details : CVE-2022-21169
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2022-21169
- cpe:2.3:a:express_xss_sanitizer_project:express_xss_sanitizer:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-21169
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-21169
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
7.3
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
3.9
|
3.4
|
Snyk |
CWE ids for CVE-2022-21169
-
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-21169
-
https://security.snyk.io/vuln/SNYK-JS-EXPRESSXSSSANITIZER-3027443
Prototype Pollution in express-xss-sanitizer | CVE-2022-21169 | SnykExploit;Third Party Advisory
-
https://runkit.com/embed/w306l6zfm7tu
RunKit + npm: express-xss-sanitizer | RunKitPatch;Third Party Advisory
-
https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/3bf8aaaf4dbb1c209dcb8d87a82711a54c1ab39a
fix XSS bypass by using prototype pollution issue. · AhmedAdelFahim/express-xss-sanitizer@3bf8aaa · GitHubPatch;Third Party Advisory
-
https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues/4
XSS bypass by using prototype pollution · Issue #4 · AhmedAdelFahim/express-xss-sanitizer · GitHubExploit;Issue Tracking;Third Party Advisory
Jump to