VDB

CVE-2021-26540

CVE-2021-26540 PUBLISHED CVSS 5 MEDIUM

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".

Risk Scores

CVSS 2.0
5

Affected Products

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

Timeline

  • Feb 8, 2021 CVE Published
  • Apr 1, 2021 CVE Updated
  • Apr 14, 2021 EPSS Score
  • Jun 23, 2021 EPSS Score
  • Aug 25, 2021 EPSS Score
  • Dec 29, 2021 EPSS Score
  • Jan 6, 2022 EPSS Score
  • Feb 4, 2022 EPSS Score
  • Mar 2, 2022 EPSS Score
  • Apr 1, 2022 EPSS Score
  • May 4, 2022 EPSS Score
  • Sep 8, 2022 EPSS Score

References

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