CVEvulnerability
CVE-2021-26539
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-02-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
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.
Affected configurations
• apostrophecms sanitize-html (< 2.3.1)
References
- https://advisory.checkmarx.net/advisory/CX-2021-4308 Exploit, Third Party Advisory
- https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22 Release Notes, Third Party Advisory
- https://github.com/apostrophecms/sanitize-html/pull/458 Patch, Third Party Advisory
- https://advisory.checkmarx.net/advisory/CX-2021-4308 Exploit, Third Party Advisory
- https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22 Release Notes, Third Party Advisory
- https://github.com/apostrophecms/sanitize-html/pull/458 Patch, Third Party Advisory