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.
Remediation
References
https://advisory.checkmarx.net/advisory/CX-2021-4308
https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22
https://github.com/apostrophecms/sanitize-html/pull/458
Related Vulnerabilities
CVE-2022-37724 Vulnerability in maven package wonder.utilities:utilities
CVE-2020-15123 Vulnerability in npm package codecov
CVE-2021-21294 Vulnerability in maven package org.http4s:http4s-blaze-server_2.13
CVE-2022-35915 Vulnerability in maven package org.webjars.npm:openzeppelin__contracts-upgradeable
CVE-2021-41532 Vulnerability in maven package org.apache.ozone:ozone-recon