{"id":"CVE-2026-62324","published":"2026-07-31T19:08:03Z","modified":"2026-08-03T17:26:47Z","title":"Jodit has incomplete javascript: scheme normalization in sanitizeHTMLElement href check that allows link XSS","vendor":"xdan","product":"jodit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00313,"percentile":0.24879,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-83","name":"Improper Neutralization of Script in Attributes in a Web Page"}],"references":[{"url":"https://github.com/xdan/jodit/security/advisories/GHSA-j839-gqq4-gf9j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xdan/jodit/commit/5fba6ef2381d151d7cb8e3c5ad0b9996af0f97b0","tags":["x_refsource_MISC"]},{"url":"https://github.com/xdan/jodit/releases/tag/4.12.31","tags":["x_refsource_MISC"]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":4.98},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"xdan","affectedVersions":[{"vendor":"xdan","product":"jodit","versions":["< 4.12.31"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-03T17:25:11.853301Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"jodit","vulnerableRanges":["<4.12.31"],"patched":["4.12.31"],"from":["GHSA-j839-gqq4-gf9j"],"provenance":"source"}],"summary":{"text":"Jodit, the WYSIWYG editor (xdan/jodit), has a flaw in its sanitizeHTMLElement method, which fails to normalize javascript: href values before checking the scheme, so case variants, control-byte prefixes, and embedded tabs or newlines get past its filtering. An attacker who can get a crafted link stored in content that an application renders can execute script in a victim's browser once the victim clicks it, which requires network access, low privileges to store the content, and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:52Z"},"euvd":{"id":"EUVD-2026-51621","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-xdan-jodit-cve-2026-58263","parents":[{"from":"CVE-2026-58263","to":"CVE-2026-62324","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:jodit","fromFixed":"4.12.28","toFixed":"4.12.31","daysApart":30},{"kind":"same-code","provenance":"machine","files":["src/core/helpers/html/safe-html.ts"],"commits":["https://github.com/xdan/jodit/commit/0ebb61692cbe84f9abf10ac76dd594dbb6343b90","https://github.com/xdan/jodit/commit/5fba6ef2381d151d7cb8e3c5ad0b9996af0f97b0"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-54756","published":"2026-07-01","fixed":"4.12.18","kev":false},{"cve":"CVE-2026-55886","published":"2026-07-01","fixed":"4.12.26","kev":false},{"cve":"CVE-2026-58263","published":"2026-07-01","fixed":"4.12.28","kev":false},{"cve":"CVE-2026-62324","published":"2026-07-31","fixed":"4.12.31","kev":false},{"cve":"CVE-2026-65841","published":"2026-07-31","fixed":"4.13.6","kev":false,"link":{"from":"CVE-2026-62324","to":"CVE-2026-65841","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:jodit","fromFixed":"4.12.31","toFixed":"4.13.6","daysApart":0}]}}],"package":"npm:jodit"}}