@jitbit/htmlsanitizer
Affected
- introduced
0, fixed2.0.3(semver)
Fixed versions
2.0.3
Fix
- Fixed version
2.0.3npm install @jitbit/[email protected]
Advisory
Also known as: CVE-2025-29771
JS Html Sanitizer allows XSS when used with contentEditable
Impact
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.
Patches
Patched in version 2.0.3
Medium Basis: The source's own band: MODERATE
0, fixed 2.0.3 (semver)2.0.3
2.0.3npm install @jitbit/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0