{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-26539","published":"2021-02-08T17:15:13.673000Z","last_modified":"2026-06-17T03:43:27.283000Z","status":"Modified","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*","part":"a","vendor":"apostrophecms","product":"sanitize-html","version_end_excluding":"2.3.1"}],"cpes_truncated":false,"vendors":["apostrophecms"],"products":["apostrophecms/sanitize-html"],"epss":{"score":0.01977,"percentile":0.81178,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rjqq-98f6-6j3r","ecosystem":"npm","name":"sanitize-html","purl":"pkg:npm/sanitize-html","ranges":[{"introduced":"0","fixed":"2.3.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-26539/","html_en":"/en/cve/CVE-2021-26539/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-26539","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-26539"},"untrusted":{"vendor_name":"Apostrophecms","product_name":"Sanitize-html","desc_en":"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.","affected":[],"references":[{"url":"https://advisory.checkmarx.net/advisory/CX-2021-4308","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/apostrophecms/sanitize-html/pull/458","tags":["Patch","Third Party Advisory"]}]}}