PT-2025-26646

CVE-2025-52561

·

Published

2025-06-23

·

Updated

2025-10-14

Description by

CVSS 4.0
6.9
Medium
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
Name of the Vulnerable Software and Affected Versions: HTMLSanitizer.jl versions prior to 0.2.1
Description: The issue is related to improper HTML sanitization in HTMLSanitizer.jl, a Whitelist-based HTML sanitizer. When the style tag is added to the whitelist, content inside the tag is incorrectly unescaped, and closing tags injected as content are interpreted as real HTML. This enables tag injection and JavaScript execution, potentially resulting in cross-site scripting (XSS) in any HTML sanitized with this library.
Recommendations: For versions prior to 0.2.1, update to version 0.2.1 to resolve the issue. As a temporary workaround, consider adding the math and svg elements to the whitelist manually.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-3MJ7-QXH9-6Q4P
JLSEC-2025-39
Found an issue in the description? Have something to add? Feel free to write us 👾