Back to list

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

GitHub · GitHub · CVE-2026-62324

ID
CVE-2026-62324
Date
Source
GitHub
Vendor
GitHub
Threat
medium

Summary

### Summary jodit's `sanitizeHTMLElement` neutralizes a `javascript:` `href` using a bare `href.trim().indexOf('javascript') === 0` check. This omits the normalization jodit applies to every other URL attribute: `isDangerousUrl` strips control bytes with `value.replace(/[\u0000-\u0020]+/g, '')` and lowercases the value before testing the scheme. Because the `href` check does neither, it is bypassed by three…

Timeline

Published by source
2026-07-31

Risk context

  • Reported severity or threat level: medium.
  • Review exposure for the affected product or family: npm: jodit.

Product

npm: jodit

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
CVE-2026-62324
Source
GitHub
Vendor
GitHub
Published by source
2026-07-31
Last source activity
2026-07-31
Additional identifiers
GHSA-J839-GQQ4-GF9J
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.