← All Advisories

Jodit Editor HTML Sanitizer Can Be Bypassed via a MathML and Style Element Combination, Allowing a Surviving Event Handler to Execute JavaScript

Last refreshed2026-09-30

Status: NEW  |  Advisory ID: CVE-2026-58263

Key Details

CVECVE-2026-58263
CVSS Score / Version7.2 (High) / CVSS v3.1
Updated2026-07-31
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVSS Proseattack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is changed; confidentiality impact is low; integrity impact is low; availability impact is none.
Classified asCWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'))

What to Know

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/<style> 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 <img ... onload=...> (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. (NVD)

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-58263
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-58263