Vulnerability · Published Jul 31, 2026 · Assigned by GitHub_M
CVE-2026-65841Jodit has cross-site scripting (XSS) via <script> nested in SVG that bypasses clean-html sanitization
Medium 5.3
In plain English
A medium-severity security flaw in jodit from xdan. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | jodit | 4.13.6 | GHSA-45qg-252v-3f7p |
Affected products (as reported)
Weakness: CWE-80 · 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
References
- https://github.com/xdan/jodit/security/advisories/GHSA-45qg-252v-3f7p x_refsource_CONFIRM
- https://github.com/xdan/jodit/commit/49a31f451f6b686f5610022a1d4406ee85138dc5 x_refsource_MISC
- https://github.com/xdan/jodit/releases/tag/4.13.6 x_refsource_MISC