CVE detail
CVE-2021-26540 — CVE-2021-26540
Published 2021-02-08 · Modified 2026-06-17 · Vendor apostrophecms · Product sanitize-html · Source nvd
MEDIUM
severity
CVSS-derived band
0.0175
EPSS probability
exploitation probability, 30d
76.0%
EPSS percentile
percentile vs all CVEs
NOT LISTED
CISA KEV
known exploited catalog
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".
Remediation
No vendor-published fix data in our corpus for this CVE. Check the references below or the vendor's PSIRT / security advisories page.
References