Lucene search

K
osvGoogleOSV:CVE-2021-26540
HistoryFeb 08, 2021 - 5:15 p.m.

CVE-2021-26540

2021-02-0817:15:13
Google
osv.dev
4
apostrophe technologies
sanitize-html
cve-2021-26540
hostname whitelist
iframe
security vulnerability

AI Score

6.8

Confidence

Low

EPSS

0.001

Percentile

49.3%

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

AI Score

6.8

Confidence

Low

EPSS

0.001

Percentile

49.3%