CVE-2024-32472excalidraw
Medium 6.1 No auth needed
Follow: this CVE · excalidraw · excalidraw We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 51
- Auth required
- No
- Published
- Apr 17, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
excalidraw is an open source virtual hand-drawn style whiteboard. A stored XSS vulnerability in Excalidraw's web embeddable component. This allows arbitrary JavaScript to be run in the context of the domain where the editor is hosted. There were two vectors. One rendering untrusted string as iframe's `srcdoc` without properly sanitizing against HTML injection. Second by improperly sanitizing against attribute HTML injection. This in conjunction with allowing `allow-same-origin` sandbox flag (necessary for several embeds) resulted in the XSS. This vulnerability is fixed in 0.17.6 and 0.16.4.
What to do
- Apply the vendor's security update for excalidraw.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @excalidraw/excalidraw |
≥ 0.16.0 < 0.16.4 |
0.16.4 |
npm install @excalidraw/excalidraw@0.16.4 |
| npm | @excalidraw/excalidraw |
≥ 0.17.0 < 0.17.6 |
0.17.6 |
npm install @excalidraw/excalidraw@0.17.6 |
Per OSV / GitHub Advisories (GHSA-m64q-4jqh-f72f). Check the version in your lockfile before upgrading.
Affected products
- excalidraw · excalidraw
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.