Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-65841 EUVD-2026-51622GHSA-45qg-252v-3f7p

Jodit has cross-site scripting (XSS) via <script> nested in SVG that bypasses clean-html sanitization

Published Jul 31, 2026 · Updated Jul 31, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
xdan jodit < 4.13.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm jodit < 4.13.6 4.13.6 GHSA-45qg-252v-3f7p

References