PT-2023-19087

CVE-2023-23627

·

Published

2023-01-27

·

Updated

2024-04-24

Description by

CVSS 3.1
6.1
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Sanitize versions 5.0.0 through 6.0.1
Description Sanitize is an allowlist-based HTML and CSS sanitizer. When configured with a custom allowlist that allows noscript elements, attackers can include arbitrary HTML, resulting in cross-site scripting or other undesired behavior when that HTML is rendered in a browser. The default configurations do not allow noscript elements and are not vulnerable. This issue only affects users who are using a custom config that adds noscript to the element allowlist.
Recommendations For Sanitize versions 5.0.0 through 6.0.1, upgrade to version 6.0.1 or later to resolve the issue. As a temporary workaround, consider using one of Sanitize's default configs or ensuring that your custom config does not include noscript in the element allowlist.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-FW3G-2H3J-QMM7
USN-6748-1
Found an issue in the description? Have something to add? Feel free to write us 👾