Intel

AIKIDO-2026-577091

jodit is vulnerable to Cross-Site Scripting (XSS)

CVE-2026-65841Published Jul 23, 2026
July 23, 2026

54

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the jodit library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

3.21.3 - 4.13.5

Fixed in 4.13.6

Background info

jodit is vulnerable to Cross-Site Scripting (XSS) in versions 3.21.3 - 4.13.5.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea