Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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