Jodit Editor: Mutation XSS in jodit clean-html via a MathML/style rawtext carrier
Description
Jodit Editor is a WYSIWYG editor with a built-in file browser & image editor. In versions prior to 4.12.28, the built-in clean-html sanitizer can be bypassed by a MathML/ carrier that hides a dangerous element from the sanitizer's element walk, so a no-interaction event handler survives into the editor value, potentially causing Mutation XSS. When an application supplies attacker-influenced HTML to the editor's value-set or insertion paths, the sanitized output still contains a live (or another non-onerror handler such as onfocus). A consumer that renders that output (element.innerHTML = editor.value) executes the handler with no user interaction. This issue has been fixed in version 4.12.28.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
joditnpm | < 4.12.28 | 4.12.28 |
Affected products
1- Range: <4.12.28
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-rxcw-mc6f-6hr3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-58263ghsaADVISORY
- github.com/xdan/jodit/commit/0ebb61692cbe84f9abf10ac76dd594dbb6343b90ghsaWEB
- github.com/xdan/jodit/releases/tag/4.12.28ghsaWEB
- github.com/xdan/jodit/security/advisories/GHSA-rxcw-mc6f-6hr3ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.