Skip to content

CVE-2021-26539 Improper Input Validation in sanitize-html

MediumCVSS 5.3 EPSS 2.0%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
apostrophecms sanitize-html < 2.3.1 2.3.1 Fixed
npm sanitize-html(npm) < 2.3.1 2.3.1 Fixed

Affected products

ProductAffected versionsFixed in
npm sanitize-html(npm) < 2.3.1 2.3.1
apostrophecms sanitize-html < 2.3.1 2.3.1

References