MEDIUM 5.3 npm

Improper Input Validation in sanitize-html

GHSA-rjqq-98f6-6j3r · CVE-2021-26539

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes