VDB

CVE-2021-26540

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

Exploit Intelligence

Timeline

  • Feb 8, 2021 CVE Published
  • Apr 1, 2021 CVE Updated
  • Apr 14, 2021 EPSS Score
  • Jun 23, 2021 EPSS Score
  • Aug 24, 2021 EPSS Score
  • Oct 26, 2021 EPSS Score
  • Jan 6, 2022 EPSS Score
  • Feb 4, 2022 EPSS Score
  • Feb 28, 2022 EPSS Score
  • Apr 1, 2022 EPSS Score
  • May 1, 2022 EPSS Score
  • Jul 3, 2022 EPSS Score

References

Open in Interactive Console →
$ Console Community · 100/wk Open console ›