CVE-2025-52561
Last modified
CVE-2025-52561 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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. EPSS estimates a 0.71% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-52561?
How severe is CVE-2025-52561?
How do I fix CVE-2025-52561?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-52556rfc3161-client is a Python library implementing the Time-Sta…9.3
- CVE-2025-52557Mail-0's Zero is an open-source email solution. In version 0…8.6
- CVE-2025-52558changedetection.io is a free open source web page change det…7
- CVE-2025-52559Zulip is an open-source team chat application. From versions…5.4
- CVE-2025-5256SummaryThis advisory addresses an Open Redirection vulnerabi…5.4
- CVE-2025-52560Kanboard is project management software that focuses on the …8.8
- CVE-2025-52562Convoy is a KVM server management panel for hosting business…10
- CVE-2025-52563Chamilo is a learning management system. Prior to version 1.…6.1
- CVE-2025-52564Chamilo is a learning management system. Prior to version 1.…6.1
- CVE-2025-52565runc is a CLI tool for spawning and running containers accor…7.5
- CVE-2025-52566llama.cpp is an inference of several LLM models in C/C++. Pr…8.8
- CVE-2025-52567GLPI is a Free Asset and IT Management Software package, Dat…5
Are you affected by CVE-2025-52561?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
