Vulnerability

CVE-2021-26540

mediumCVSS 3.1 5.3Published 8 Feb 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Apostrophecms sanitize-html

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning