CVE-2021-26540 PUBLISHED

Reported by mitre · Published February 8, 2021

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 Products

VendorProductVersions
n/an/an/a
npmsanitize-html0
n/an/an/a, n/a

Timeline

References

Open in Interactive Console →