CVE-2021-26540

  • Severity 5.3 MEDIUM
  • Published
  • Updated
  • Status Modified
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".
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Base Score
CVSS 3.1
EPSS Score
Percentile: 78.94%
Affected Products (NVD)
VendorProductVersion
apostrophecmssanitize-html
𝑥
< 2.3.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-sanitize-html
bookworm
2.8.0+~2.6.2-1
fixed
sid
2.13.1+~2.13.0-1
fixed
trixie
2.13.1+~2.13.0-1
fixed