Description
Jodit Editor is a WYSIWYG editor with written in pure TypeScript file and image editing capabilities. 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.
Published: 2026-07-01
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Jodit Editor’s built‑in clean‑html sanitizer can be bypassed by embedding a MathML or style element that conceals a dangerous tag. A crafted payload hides an <img> tag with an onload attribute (or other non‑onerror handler) from the sanitizer’s element walk. When attacker‑controlled HTML is supplied to the editor’s value‑setting or insertion APIs, the sanitized output still contains the live event handler. If the consuming application renders that output via innerHTML, the handler executes automatically, delivering a Mutation XSS vector without any user interaction. This flaw is classified under CWE‑79 and CWE‑83.

Affected Systems

All releases of Jodit Editor from the xdan vendor dated before 4.12.28 are vulnerable. Any deployment that provides attacker‑controlled HTML to the editor’s value‑setting or insertion mechanisms and later renders that content to the DOM using innerHTML or a similar property will be affected.

Risk and Exploitability

The CVSS score of 7.2 classifies the issue as high severity, while the EPSS score of less than 1% suggests a low likelihood of exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog. Because no user interaction is required, an attacker can trigger the embedded event handler automatically on any exposed input surface, making this risk significant for exposed applications.

Generated by OpenCVE AI on July 21, 2026 at 13:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Jodit Editor 4.12.28 or later to apply the sanitization fix.
  • Remove or filter any MathML and style tags from input so that hidden event handlers cannot be carried into the editor.
  • Deploy a strict Content Security Policy that disallows inline event handlers and limits script execution to trusted origins.

Generated by OpenCVE AI on July 21, 2026 at 13:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Xdan
Xdan jodit
Vendors & Products Xdan
Xdan jodit

Wed, 01 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Description Jodit Editor is a WYSIWYG editor with written in pure TypeScript file and image editing capabilities. 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.
Title Jodit Editor: Mutation XSS in jodit clean-html via a MathML/style rawtext carrier
Weaknesses CWE-79
CWE-83
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-02T12:23:25.319Z

Reserved: 2026-06-29T21:54:30.331Z

Link: CVE-2026-58263

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T13:30:07Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-83

    Improper Neutralization of Script in Attributes in a Web Page