Quick answers
- Is CVE-2026-65841 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-65841 being exploited in the wild.
- How severe is CVE-2026-65841?
- Medium severity, with a CVSS score of 4, published 31 July 2026.
- Which products and versions are affected?
- jodit (npm) < 4.13.6, SEMVER:introduced=0,fixed=4.13.6; Xdan Jodit Editor < 4.13.6.
- Is there a fix for CVE-2026-65841?
- Yes. jodit (npm): upgrade to 4.13.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-65841 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-65841?
- Check whether you run jodit (npm) or Xdan Jodit Editor at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- jodit (npm): upgrade to 4.13.6 or later
npm install jodit@4.13.6
Technical details
The vulnerability is an improper HTML sanitization (CWE-80) in Jodit's clean-html module. The deny/allow tag filter normalizes tag names to uppercase before matching against the denyTags list, but SVG and MathML elements are foreign-namespaced and preserve their original lowercase names in the DOM (node.nodeName). A script element nested directly inside an svg element reports "script" instead of "SCRIPT", bypassing the default denyTags filter. The malicious script survives in the editor value and serialized output, executing when the content is loaded back into Jodit or rendered on a page. Attack requires user interaction (loading or editing content in the editor) but no authentication. The fix (version 4.13.6) normalizes tag names to uppercase before filter matching, preventing namespace-based bypass while still respecting allowTags configuration. Server-side HTML sanitization provides interim mitigation.
Affected products
- xdan jodit < 4.13.6
Identifiers
- CVE-2026-65841
- GHSA-45qg-252v-3f7p
Timeline
- 2026-07-31: disclosed
- 2026-07-22: patched: Fixed in version 4.13.6