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://github.com/apostrophecms/sanitize-html/pull/458
https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#231-2021-01-22
https://advisory.checkmarx.net/advisory/CX-2021-4308
Related Vulnerabilities
CVE-2018-1000160 Vulnerability in npm package @risingstack/protect
CVE-2020-28278 Vulnerability in npm package shvl
CVE-2022-27263 Vulnerability in npm package strapi
CVE-2023-26109 Vulnerability in npm package node-bluetooth-serial-port
CVE-2021-23926 Vulnerability in maven package org.apache.xmlbeans:xmlbeans