CVE-2026-62324 Jodit has incomplete javascript: scheme normalization in sanitizeHTMLElement href check that allows link XSS

Medium 5.4 Published Updated

Attackers can execute arbitrary JavaScript via crafted links in Jodit Editor due to incomplete URL sanitization, affecting applications using the library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-62324?

CVE-2026-62324 is a medium-severity cross-site scripting vulnerability in xdan jodit, published on 31 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-83, CWE-79

Which versions are affected by CVE-2026-62324?

2 open source packages ship an affected version, including jodit.

PackageAffectedFixed in
jodit npmAll versions4.12.31
jodit npmAll versions4.12.31

How do I fix CVE-2026-62324?

Upgrade jodit to 4.12.31 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-62324 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-62324 exists.

Sources

Also known as GHSA-j839-gqq4-gf9j.

Is CVE-2026-62324 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free