Vulnerability library
Security checkJuly 31, 2026

Jodit Editor: Mutation XSS in jodit clean-html via a MathML/style rawtext carrier

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmjodit

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

jodit’s built-in clean-html sanitizer can be bypassed by a MathML/<style> carrier that hides a dangerous element from the sanitizer’s element walk, so a no-interaction event handler survives into the editor value.

Recommendation

Update the jodit package to the latest compatible version. Followings are version details:

  • Affected version(s): < 4.12.28
  • Patched version(s): 4.12.28

References

Could your website be exposed too?

SmartScanner can check your website for Jodit Editor: Mutation XSS in jodit clean-html via a MathML/style rawtext carrier and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 31, 2026