CVE-2025-29771
Last modified
CVE-2025-29771 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. HtmlSanitizer is a client-side HTML Sanitizer. Versions prior to 2.0.3 have a cross-site scripting vulnerability when the sanitizer is used with a `contentEditable` element to set the elements `innerHTML` to a sanitized string produced by the package. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
HtmlSanitizer is a client-side HTML Sanitizer. Versions prior to 2.0.3 have a cross-site scripting vulnerability when the sanitizer is used with a `contentEditable` element to set the elements `innerHTML` to a sanitized string produced by the package. If the code is particularly crafted to abuse the code beautifier, that runs AFTER sanitation. The issue is patched in version 2.0.3.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-29771?
How severe is CVE-2025-29771?
How do I fix CVE-2025-29771?
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-29763Rejected reason: “This CVE ID is Rejected and will not be us…
- CVE-2025-29766Tuleap is an Open Source Suite to improve management of soft…4.3
- CVE-2025-29768Vim, a text editor, is vulnerable to potential data loss wit…4.4
- CVE-2025-29769libvips is a demand-driven, horizontally threaded image proc…5.5
- CVE-2025-2977A vulnerability was found in GFI KerioConnect 10.0.6. It has…5.4
- CVE-2025-29770vLLM is a high-throughput and memory-efficient inference and…6.5
- CVE-2025-29772OpenEMR is a free and open source electronic health records …6.1
- CVE-2025-29773Froxlor is open-source server administration software. A vul…7.8
- CVE-2025-29774xml-crypto is an XML digital signature and encryption librar…9.3
- CVE-2025-29775xml-crypto is an XML digital signature and encryption librar…9.3
- CVE-2025-29776Azle is a WebAssembly runtime for TypeScript and JavaScript …8.7
- CVE-2025-29778Kyverno is a policy engine designed for cloud native platfor…8
Are you affected by CVE-2025-29771?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
