jodit is vulnerable to Cross-Site Scripting (XSS)
54
CVE Score
Medium
Cross-Site Scripting (XSS)
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.
Upgrade the jodit library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
3.21.3 - 4.13.5
Fixed in 4.13.6jodit is vulnerable to Cross-Site Scripting (XSS) in versions 3.21.3 - 4.13.5.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.