Vulnerability in Apostrophecms Sanitize-Html
CVE-2021-26540
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".
EPSS: 0.018 (76.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
Affected products
- Apostrophecms Sanitize-html
- N/a — versions n/a
References
- cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Exploit, Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-26540?
- CVE-2021-26540 is a medium-severity vulnerability in Apostrophecms Sanitize-Html. CVSS score: 5.3/10. Published 2021-02-08.
- How severe is CVE-2021-26540?
- Medium severity. CVSS v3 base score is 5.3 out of 10.