CVE-2026-97224 Excalidraw Imported File restore.ts cross site scripting
Remote attackers can execute arbitrary scripts via crafted imported files in Excalidraw, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-97224?
CVE-2026-97224 is a medium-severity cross-site scripting vulnerability in Excalidraw, published on 24 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A vulnerability was detected in Excalidraw up to 0.18.1. The impacted element is an unknown function of the file packages/excalidraw/data/restore.ts of the component Imported File Handler. Performing a manipulation of the argument customData.generationData.html results in cross site scripting. The attack is possible to be carried out remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2026-97224?
How do I fix CVE-2026-97224?
No fix has been published for CVE-2026-97224 yet. Limit exposure of the affected software until one is available.
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-97224 being exploited?
There is no known exploitation of CVE-2026-97224 in the wild and no public exploit code.
Sources
Also known as GHSA-v2vq-3h6w-9r3c.