Vulnerability Details : CVE-2021-26539
Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which could allow an attacker to bypass hostname whitelist validation set by the "allowedIframeHostnames" option.
Products affected by CVE-2021-26539
- cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-26539
0.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 57 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-26539
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
3.9
|
1.4
|
NIST |
References for CVE-2021-26539
-
https://github.com/apostrophecms/sanitize-html/pull/458
Stop idna iframe attacks by boutell · Pull Request #458 · apostrophecms/sanitize-html · GitHubPatch;Third Party Advisory
-
https://advisory.checkmarx.net/advisory/CX-2021-4308
Checkmarx Advisory | CX-2021-4308 / Validation Bypass in sanitize-html using IDNExploit;Third Party Advisory
-
https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22
sanitize-html/CHANGELOG.md at main · apostrophecms/sanitize-html · GitHubRelease Notes;Third Party Advisory
Jump to