jodit is vulnerable to Cross-Site Scripting (XSS)
54
Medium Risk
The clean-html sanitizer's deny/allow tag filter in try-remove-node.ts compared node.nodeName against an upper-cased tag hash. Foreign (SVG/MathML) namespaced elements preserve their original-case node names, so an SVG script reports script instead of SCRIPT and slips past the default denyTags list. Attacker-supplied HTML such as <svg><script>...</script></svg> loaded into the editor is preserved in editor.value and serialized output, where it can execute when the stored content is rendered or reopened. The fix normalizes tag names to upper case before deny/allow lookups so foreign namespaces can no longer bypass the filter.
You are affected if you are using a version that falls within the vulnerable range.
jodit is vulnerable to Cross-Site Scripting (XSS) in versions 3.21.3 - 4.13.5.
Upgrade the jodit library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant