CVE-2021-26539: apostrophecms sanitize-html
Vulnerability summary
CVE-2021-26539 is a medium (CVSS 5.3) vulnerability in apostrophecms sanitize-html. EPSS estimates a 1.95% chance of exploitation in the next 30 days, higher than 80% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 08-02-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which could allow an attacker to bypass hostname whitelist validation set by the "allowedIframeHostnames" option.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
1.95%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
0.00 pp
From 1.95% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (advisory.checkmarx.net)
Maturity: unknown
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Apostrophecms1 product
- sanitize-html< 2.3.1
Npm1 product
- sanitize-html< 2.3.1
2 vendors · 2 products
References
6 links- github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.mdX Refsource MISCWEBRelease NotesThird Party Advisory