Cross-site scripting in Jodit Editor - #VU166181
Published: November 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute scripts in the application's origin, access victims' sessions, and act as victims.
The vulnerability exists due to incomplete URL scheme filtering in Jodit Editor's safeHTML/sanitizeHTMLElement sanitizer when processing SVG animation attributes that modify link destinations at runtime. A remote attacker can embed <animate attributeName="href" values="javascript:alert(document.domain)" begin="0s" fill="freeze"/> inside an SVG link in stored HTML and entice a victim to click it in the editor or another view rendering that content to execute scripts.