Description
Jodit Editor is a WYSIWYG editor with a built-in file browser & image editor. Prior to 4.13.6, Jodit's clean-html denyTags filter does not normalize foreign SVG or MathML script node names, allowing a script element nested directly in SVG or MathML to remain in editor.value and execute when content is loaded. This issue is fixed in version 4.13.6.
Published: 2026-07-31
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A script element nested inside an SVG or MathML block can bypass Jodit's clean‑html "denyTags" filter because the filter does not normalize foreign tag names, allowing the script to remain in the editor value and execute when the page renders. The flaw is a DOM‑based XSS that could lead to theft of session cookies, site‑wide defacement, or the execution of arbitrary client‑side code in the context of users who load the compromised content. This vulnerability is categorized as CWE‑80.

Affected Systems

The flaw exists in the Jodit WYSIWYG editor provided by the xdan vendor, affecting all versions earlier than 4.13.6. Users who embed or paste content that contains a <script> tag inside SVG or MathML structures are impacted.

Risk and Exploitability

With a CVSS score of 5.3 and an EPSS score below 1%, the vulnerability has moderate severity and a low probability of exploitation in the wild. It is not listed in CISA's KEV catalog. The likely attack vector is client‑side injection: an attacker can supply crafted content that a user loads into the editor, causing the client browser to execute the injected script when the content is rendered.

Generated by OpenCVE AI on August 2, 2026 at 03:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Jodit to version 4.13.6 or later, which removes the script tags from foreign SVG and MathML content.
  • If an upgrade is not immediately possible, configure the editor to disable the insertion of <script> elements in SVG or MathML content or strip them through a custom filtering function before storing the editor value.
  • Implement an additional server‑side sanitization layer for any content that is exported from or imported into Jodit, ensuring that only whitelisted SVG and MathML elements are permitted.

Generated by OpenCVE AI on August 2, 2026 at 03:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-45qg-252v-3f7p Jodit has cross-site scripting (XSS) via <script> nested in SVG that bypasses clean-html sanitization
History

Fri, 31 Jul 2026 20:45:00 +0000

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

Fri, 31 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
Description Jodit Editor is a WYSIWYG editor with a built-in file browser & image editor. Prior to 4.13.6, Jodit's clean-html denyTags filter does not normalize foreign SVG or MathML script node names, allowing a script element nested directly in SVG or MathML to remain in editor.value and execute when content is loaded. This issue is fixed in version 4.13.6.
Title Jodit has cross-site scripting (XSS) via <script> nested in SVG that bypasses clean-html sanitization
Weaknesses CWE-80
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-31T20:05:10.590Z

Reserved: 2026-07-22T23:16:47.753Z

Link: CVE-2026-65841

cve-icon Vulnrichment

Updated: 2026-07-31T20:04:40.097Z

cve-icon NVD

Status : Received

Published: 2026-07-31T20:16:53.967

Modified: 2026-07-31T20:16:53.967

Link: CVE-2026-65841

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T04:00:06Z

Weaknesses
  • CWE-80

    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)