Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-62324 EUVD-2026-51621GHSA-j839-gqq4-gf9j

Jodit has incomplete javascript: scheme normalization in sanitizeHTMLElement href check that allows link XSS

Published Jul 31, 2026 · Updated Aug 3, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
xdan jodit < 4.12.31 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm jodit < 4.12.31 4.12.31 GHSA-j839-gqq4-gf9j

References