Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jodit
  4. ›
  5. CVE-2026-58263

CVE-2026-58263: Jodit Editor: Mutation XSS in jodit clean-html via a MathML/style rawtext carrier

July 31, 2026

jodit’s 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. 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 is a stored cross-site scripting vulnerability, confirmed live on the shipped es2021/jodit.min.js for 4.12.25 and the latest 4.12.27 (in Chromium via a client-side innerHTML consumer, and in Firefox via server-rendered / document-context output; see the cross-browser note under Proof of concept).

References

  • github.com/advisories/GHSA-rxcw-mc6f-6hr3
  • github.com/xdan/jodit/commit/0ebb61692cbe84f9abf10ac76dd594dbb6343b90
  • github.com/xdan/jodit/releases/tag/4.12.28
  • github.com/xdan/jodit/security/advisories/GHSA-rxcw-mc6f-6hr3
  • nvd.nist.gov/vuln/detail/CVE-2026-58263

Code Behaviors & Features

Detect and mitigate CVE-2026-58263 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.12.28

Fixed versions

  • 4.12.28

Solution

Upgrade to version 4.12.28 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • 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

Source file

npm/jodit/CVE-2026-58263.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:56 +0000.