MTIby Motiontic
Colour theme
VulnerabilityCVE-2025-29771GHSA-vhv4-fh94-jm5x

HtmlSanitizer vulnerable to XSS when used with contentEditable

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)