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-24198 Vulnerability in maven package com.itextpdf:itext7-core
CVE-2023-43123 Vulnerability in maven package org.apache.storm:storm-pmml-examples
CVE-2021-3827 Vulnerability in maven package org.keycloak:keycloak-saml-core
CVE-2019-10249 Vulnerability in maven package org.eclipse.xtext:org.eclipse.xtext.maven.parent