Moderate severityNVD Advisory· Published Jul 31, 2026· Updated Aug 3, 2026
Jodit has incomplete javascript: scheme normalization in sanitizeHTMLElement href check that allows link XSS
CVE-2026-62324
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
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
joditnpm | < 4.12.31 | 4.12.31 |
Affected products
1Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-j839-gqq4-gf9jghsaADVISORY
- github.com/xdan/jodit/commit/5fba6ef2381d151d7cb8e3c5ad0b9996af0f97b0ghsax_refsource_MISCWEB
- github.com/xdan/jodit/releases/tag/4.12.31ghsax_refsource_MISCWEB
- github.com/xdan/jodit/security/advisories/GHSA-j839-gqq4-gf9jghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.