Cross-site scripting in Jodit Editor - #VU164394

 

Cross-site scripting in Jodit Editor - #VU164394

Published: November 10, 2026


Vulnerability identifier: #VU164394
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary JavaScript in an editing user's browser through stored cross-site scripting.

The vulnerability exists due to delayed registration of sanitising handlers in Jodit Editor's clean-html plugin when loading stored HTML from a textarea into the live editing area. A remote attacker can supply stored HTML containing <img src="data:," onerror="alert(document.domain)"> to execute script before sanitisation, including in same-origin iframe mode where it can access the host page.


Affected software

Jodit Editor

Remediation

Install security update from vendor's website.

Jodit Editor - update to 4.18.2

External References

Related Security Bulletins