All reports
Medium

Improper Input Validation in sanitize-html

Affected versions

Affected versions
< 2.3.1
Fixed version
2.3.1
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-26539

Probability of exploitation in the next 30 days: 1.98%

FIRST EPSS · 2026-11-21

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.

Links

Credits

  • tdunlap607