Skip to main content

Jodit Editor CVE-2026-58263

| EUVDEUVD-2026-41140 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-07-01 GitHub_M GHSA-rxcw-mc6f-6hr3
7.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft MathML/<style> carrier hiding <img onload>
  2. Delivery
    Submit HTML to app's Jodit value-set path
  3. Exploit
    Sanitizer element walk misses hidden handler
  4. Execution
    App renders editor.value via innerHTML
  5. Persist
    Browser mutation reforms live element
  6. Impact
    onload handler executes attacker script in victim session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) an application using Jodit Editor at a version below 4.12.28, (2) an attacker-controllable path that supplies HTML into Jodit's value-set or insertion API (editor.value = ... or programmatic insertion of attacker-influenced content), and (3) a downstream sink where the sanitized editor.value is rendered via element.innerHTML in a victim's browser. The concrete carrier is a MathML element or <style> wrapper that conceals a non-onerror auto-firing handler (onload on <img>, or onfocus). No victim interaction is needed once rendered because those handlers fire on load/focus automatically (UI:N). Limiting factors: the bug is not exploitable if the integrating application does not route untrusted HTML through Jodit, sanitizes output independently (e.g. DOMPurify), or renders content without innerHTML - so realistic risk is bounded by the specific integration rather than by Jodit's mere presence.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2 High) portrays a network-reachable, low-complexity, unauthenticated bug with a scope change (the injected script crosses into the rendering application's origin/DOM) and limited confidentiality and integrity impact - consistent with client-side XSS. Real-world risk is moderate and conditional: exploitation depends on the integrating application feeding attacker-controlled HTML into Jodit and then rendering editor.value with innerHTML, so it is a component/supply-chain risk realized only in vulnerable integrations, not in every Jodit deployment. No CISA KEV listing and no EPSS score are present in the input, and no POC is referenced, so there is no evidence of active or automated exploitation - this reads as a genuine but non-emergency issue. Note the UI:N/PR:N choice is defensible because the handlers auto-fire and no login is needed to submit HTML, but whether an attacker can reach the value-set path is application-specific; verify against the actual integration before treating it as trivially remote.

Exploit ScenarioDerived

An attacker submits crafted HTML - a MathML/<style> carrier wrapping an <img onload=...> payload - through a form, comment, or API field that an application feeds into Jodit's value-set path. Jodit's clean-html sanitizer fails to strip the hidden handler, and when the application later renders editor.value with element.innerHTML, the browser's DOM mutation re-forms the live element and the onload handler executes the attacker's JavaScript in the victim's session with no clicks required. No public POC is referenced in the source data, but the low attack complexity (AC:L) and lack of required interaction make weaponization straightforward for an attacker who controls input to a vulnerable integration.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 01, 2026

Mutation XSS in Jodit Editor (xdan/jodit) before 4.12.28 lets attacker-influenced HTML slip a live, no-interaction event handler past the built-in clean-html sanitizer. A MathML/<style> carrier hides a dangerous element from the sanitizer's element walk, so the sanitized editor value still contains a working handler such as <img onload=...> or onfocus; any consumer that renders editor.value via innerHTML executes attacker JavaScript without user interaction. No public exploit identified at time of analysis, and the flaw is fixed in 4.12.28.

RemediationAI

Vendor-released patch: upgrade Jodit to version 4.12.28 or later, which fixes the sanitizer bypass; update the npm dependency (e.g. bump jodit to ^4.12.28) and redeploy per the advisory at https://github.com/xdan/jodit/security/advisories/GHSA-rxcw-mc6f-6hr3. If you cannot upgrade immediately, do not treat Jodit's clean-html output as trusted: run editor.value through a robust independent sanitizer such as DOMPurify before assigning it to innerHTML, which neutralizes the surviving onload/onfocus handlers at the cost of an extra processing step and possible stripping of legitimate embedded markup. As a further control, avoid rendering user-submitted editor content via raw innerHTML in security-sensitive contexts and enforce a Content-Security-Policy that blocks inline event-handler execution (script-src without 'unsafe-inline'), accepting that a strict CSP may break other inline scripts in the app and require refactoring.

Affected VersionsENISA

jodit < 4.12.28

Affected Packages

npm jodit fix: 4.12.28

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Jodit is an open-source WYSIWYG rich-text editor written in pure TypeScript (CPE cpe:2.3:a:xdan:jodit) that ships its own clean-html sanitizer to strip dangerous markup before content is stored or re-rendered. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation) in a specific, subtle form: sanitizer bypass via HTML parsing/mutation differentials. MathML and <style> elements are parsed by the browser differently from how Jodit's sanitizer performs its element walk, so a dangerous node can be 'carried' inside these contexts, escape enumeration, and then be re-materialized by the browser's own DOM normalization (mutation) when the value is later assigned to element.innerHTML. Because the surviving vectors rely on non-onerror handlers like onload and onfocus that fire automatically, exploitation needs no victim click.

Know when Jodit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 7.2 HIGH

Attacker-supplied HTML reaches the editor remotely with no auth and the auto-firing handler needs no interaction (AV:N/AC:L/PR:N/UI:N); injected script crosses into the app DOM (S:C) with limited C/I and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 22:02 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Organizations using Jodit Editor versions prior to 4.12.28 are exposed to a high-severity cross-site scripting attack that automatically executes malicious code within user browsers without any interaction required. The vulnerability stems from a sanitization bypass in the rich text editor and could enable attackers to compromise user accounts, steal sensitive data, or deploy malware across affected applications. No public exploit has been identified at this time, but a vendor patch is available.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
popular open-source JS WYSIWYG editor, common but behind TinyMCE/CKEditor
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy