CVE-2026-62324 Jodit has incomplete javascript: scheme normalization in sanitizeHTMLElement href check that allows link XSS
MediumCVSS 5.4
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm jodit(npm) | < 4.12.31; <= 4.12.30 | 4.12.31 | Fixed |
| xdan jodit | = < 4.12.31 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xdan jodit | = < 4.12.31 | No fix listed |
| npm jodit(npm) | <= 4.12.30 | No fix listed |
| npm jodit(npm) | < 4.12.31 | 4.12.31 |
References
- https://github.com/xdan/jodit/security/advisories/GHSA-j839-gqq4-gf9j exploit vendor-advisory
- https://github.com/xdan/jodit/commit/5fba6ef2381d151d7cb8e3c5ad0b9996af0f97b0 patch
- https://github.com/xdan/jodit/releases/tag/4.12.31
- github.com
- github.com product
- ENISA EUVD EUVD-2026-51621 third-party-advisory