VDB
CVE-2021-26540
CVE-2021-26540
PUBLISHED
Reported by mitre · Published February 8, 2021
Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHostnames" option when the "allowIframeRelativeUrls" is set to true, which allows attackers to bypass hostname whitelist for iframe element, related using an src value that starts with "/\\example.com".
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| npm | sanitize-html | 0 |
| n/a | n/a | n/a, n/a |
Exploit Intelligence
- https://advisory.checkmarx.net/advisory/CX-2021-4309 (nist-nvd)
- summary.html (github-poc)
- summary.html (github-poc)
- summary.html (github-poc)
- summary.html (github-poc)
- summary.html (github-poc)
- summary.html (github-poc)
Timeline
- Feb 8, 2021 CVE Published
- Apr 1, 2021 CVE Updated
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2021-26540 advisory