CVE-2021-26540

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
08/02/2021
Last modified:
01/04/2021

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:* 2.3.2 (excluding)