CVE-2025-52561 - CVE House
Back to Database
Status published Medium CVE-2025-52561

HTMLSanitizer.jl Possible XSS

Vulnerability Description

HTMLSanitizer.jl is a Whitelist-based HTML sanitizer. Prior to version 0.2.1, when adding the style tag to the whitelist, content inside the tag is incorrectly unescaped, and closing tags injected as content are interpreted as real HTML, enabling tag injection and JavaScript execution. This could result in possible cross-site scripting (XSS) in any HTML that is sanitized with this library. This issue has been patched in version 0.2.1. A workaround involves adding the math and svg elements to the whitelist manually.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-52561

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

JuliaComputing

View all reports →

Affected Software

HTMLSanitizer.jl
Vulnerable Versions:
< 0.2.1

Timeline

Official Publish: June 23rd, 2025
Last Modified: June 24th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)