Vulnerability · Published Jul 31, 2026 · Assigned by GitHub_M
CVE-2026-62324Jodit has incomplete javascript: scheme normalization in sanitizeHTMLElement href check that allows link XSS
Medium 5.4
In plain English
A medium-severity cross-site scripting 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.3% (higher than 24% 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.12.31, Jodit's sanitizeHTMLElement method fails to use isDangerousUrl to normalize javascript: href values before checking the scheme, allowing case variants, control-byte prefixes, and embedded tabs or newlines to bypass filtering and execute attacker-controlled script when a victim clicks a stored link rendered by an application. This issue is fixed in version 4.12.31.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | jodit | 4.12.31 | GHSA-j839-gqq4-gf9j |
Affected products (as reported)
Weakness: CWE-79, CWE-83 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/xdan/jodit/security/advisories/GHSA-j839-gqq4-gf9j x_refsource_CONFIRM
- https://github.com/xdan/jodit/commit/5fba6ef2381d151d7cb8e3c5ad0b9996af0f97b0 x_refsource_MISC
- https://github.com/xdan/jodit/releases/tag/4.12.31 x_refsource_MISC