Read the docs
TI-2025-32656 Aliases CVE-2025-52561

HTMLSanitizer.jl Possible XSS

Priority LOW 38CWE-79Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00861 58th percentileScored 2026-11-07
Fix Fixed HTMLSanitizer.jl (JuliaComputing): 0.2.1

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

VendorProductAffected versionsFixed inStatusSource
JuliaComputingHTMLSanitizer.jlbefore 0.2.10.2.1Patch availableCNA
  • 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

  1. 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