HTMLSanitizer.jl Possible XSS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| JuliaComputing | HTMLSanitizer.jl | before 0.2.1 | 0.2.1 | Patch available | CNA |
- HTMLSanitizer.jl VendorJuliaComputing Affected before 0.2.1 Fixed in 0.2.1 Patch available CNA
Remediation
- Fix · CNA HTMLSanitizer.jl (JuliaComputing) Fixed in 0.2.1
Timeline
- 2026-10-02 Threatist record created from CVE-2025-52561
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences