Vulnerabilities/

Improper Input Validation in sanitize-html

Severity:
Medium

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.

Recommendation

Update the sanitize-html package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
sanitize-html
Anything's wrong? Let us know Last updated on April 21, 2023

This issue is available in SmartScanner Professional

See Pricing