CVE-2025-29771: JS Html Sanitizer allows XSS when used with contentEditable
XSS 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.
References
Detect and mitigate CVE-2025-29771 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →