Vulnerability record · CVE-2021-26539 · published 8 February 2021
CVE-2021-26539: Apostrophecms sanitize-html vulnerability
Apostrophecms · Sanitize Html
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://advisory.checkmarx.net/advisory/CX-2021-4308 | ExploitThird Party Advisory |
| https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22 | Release NotesThird Party Advisory |
| https://github.com/apostrophecms/sanitize-html/pull/458 | PatchThird Party Advisory |
| https://advisory.checkmarx.net/advisory/CX-2021-4308 | ExploitThird Party Advisory |
| https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22 | Release NotesThird Party Advisory |
| https://github.com/apostrophecms/sanitize-html/pull/458 | PatchThird Party Advisory |
Track CVE-2021-26539 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-26539), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.