Read the docs
TI-2025-21183 Aliases CVE-2025-29771GHSA-vhv4-fh94-jm5x

HtmlSanitizer vulnerable to XSS when used with contentEditable

Priority LOW 24CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
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 and GitHub. Impact type from CWE-79.

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 the code beautifier, that runs AFTER sanitation. The issue is patched in version 2.0.3.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00404 34th percentileScored 2026-11-07
Fix Fixed HtmlSanitizer (jitbit): 2.0.3@jitbit/htmlsanitizer (npm): 2.0.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
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
jitbitHtmlSanitizerbefore 2.0.32.0.3Patch availableCNA
—@jitbit/htmlsanitizer (npm)before 2.0.32.0.3Patch availableGHSA-vhv4-fh94-jm5x
  • HtmlSanitizer Vendorjitbit Affected before 2.0.3 Fixed in 2.0.3 Patch available CNA
  • @jitbit/htmlsanitizer (npm) Vendor— Affected before 2.0.3 Fixed in 2.0.3 Patch available GHSA-vhv4-fh94-jm5x

Remediation

  • Fix · CNA HtmlSanitizer (jitbit) Fixed in 2.0.3
  • Fix · GHSA-vhv4-fh94-jm5x @jitbit/htmlsanitizer (npm) Fixed in 2.0.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-29771
  2. 2026-10-03 Alias added: GHSA-vhv4-fh94-jm5x

References

  • TI-2017-13659 Jitbit Helpdesk before 9.0.3 allows remote attackers to escalate privileges because of… CVSS 3.0HIGH 7.2
  • TI-2019-13479 A cross-site scripting (XSS) vulnerability in Jitbit .NET Forum (aka ASP.NET forum) 8.3.8… CVSS 3.1MEDIUM 5.4

Sources