~ / search / GHSA-rjqq-98f6-6j3r

GHSA-rjqq-98f6-6j3r

Improper Input Validation in sanitize-html

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-26539

Packages

EcosystemPackageAffectedFixed in
npm sanitize-html < 2.3.1 2.3.1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.