CVE-2021-26539

sanitize-html: improper handling of internationalized domain name (IDN) can lead to bypass hostname whitelist validation

Published Feb 8, 2021 CVSS 3.1 · 5.3 Medium EPSS 2.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1183 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.
Github GHSA Github GHSA GHSA-rjqq-98f6-6j3r Improper Input Validation in sanitize-html
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 8:26 PM
Reserved
Feb 1, 2021, 12:00 AM
Status
Modified
Published
Feb 8, 2021, 5:15 PM
Modified
Jun 17, 2026, 3:43 AM
Severity
Moderate
Public date
Jan 22, 2021, 12:00 AM