Skip to content
OpenAdvisories
Medium · 5.3 CVE-2021-26539 EUVD-2021-1183GHSA-rjqq-98f6-6j3r

Improper Input Validation in sanitize-html

Published Feb 8, 2021 · Updated Aug 3, 2024 · Assigned by mitre

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 packages

EcosystemPackageAffectedFixedRecord
npm sanitize-html < 2.3.1 2.3.1 GHSA-rjqq-98f6-6j3r

References