{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-29771","published":"2025-03-14T19:15:48.847000Z","last_modified":"2026-06-17T09:05:38.583000Z","status":"Deferred","cvss":{"version":"4.0","score":5.3,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["jitbit"],"products":["jitbit/htmlsanitizer"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-vhv4-fh94-jm5x","ecosystem":"npm","name":"@jitbit/htmlsanitizer","purl":"pkg:npm/%40jitbit/htmlsanitizer","ranges":[{"introduced":"0","fixed":"2.0.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-29771/","html_en":"/en/cve/CVE-2025-29771/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-29771","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-29771"},"untrusted":{"vendor_name":"jitbit","product_name":"HtmlSanitizer","desc_en":"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.","affected":[{"untrusted_vendor":"jitbit","untrusted_product":"HtmlSanitizer","versions":[]}],"references":[{"url":"https://github.com/jitbit/HtmlSanitizer/commit/af6d2a78877e7277cd01c825b7fb50edb5956963","tags":[]},{"url":"https://github.com/jitbit/HtmlSanitizer/security/advisories/GHSA-vhv4-fh94-jm5x","tags":[]}]}}