GHSA-mjxr-4v3x-q3m4MediumCVSS 5.3

Improper Input Validation in sanitize-html

Published
May 6, 2021
Last Modified
February 1, 2023

🔗 CVE IDs covered (1)

📋 Description

Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHostnames" option when the "allowIframeRelativeUrls" is set to true, which allows attackers to bypass hostname whitelist for iframe element, related using an src value that starts with "/\example.com".

🎯 Affected products1

  • npm/sanitize-html:< 2.3.2

🔗 References (5)