excalidraw vulnerable to a Stored XSS in excalidraw's web embed component
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| excalidraw | excalidraw | 0.16.0 to before 0.16.4; 0.17.0 to before 0.17.6 | 0.16.4, 0.17.6 | Patch available | CNA |
| — | @excalidraw/excalidraw (npm) | 0.16.0 to before 0.16.4 | 0.16.4 | Patch available | GHSA-m64q-4jqh-f72f |
| — | @excalidraw/excalidraw (npm) | 0.17.0 to before 0.17.6 | 0.17.6 | Patch available | GHSA-m64q-4jqh-f72f |
- excalidraw Vendorexcalidraw Affected 0.16.0 to before 0.16.4; 0.17.0 to before 0.17.6 Fixed in 0.16.4, 0.17.6 Patch available CNA
- @excalidraw/excalidraw (npm) Vendor— Affected 0.16.0 to before 0.16.4 Fixed in 0.16.4 Patch available GHSA-m64q-4jqh-f72f
- @excalidraw/excalidraw (npm) Vendor— Affected 0.17.0 to before 0.17.6 Fixed in 0.17.6 Patch available GHSA-m64q-4jqh-f72f
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:excalidraw:excalidraw:*:*:*:*:*:*:*:* | — | — | excalidraw |
- cpe:2.3:a:excalidraw:excalidraw:*:*:*:*:*:*:*:* Versions — — ·excalidraw
Remediation
- Fix · CNA excalidraw (excalidraw) Fixed in 0.16.4, 0.17.6
- Fix · GHSA-m64q-4jqh-f72f @excalidraw/excalidraw (npm) Fixed in 0.16.4 Advisory →
- Fix · GHSA-m64q-4jqh-f72f @excalidraw/excalidraw (npm) Fixed in 0.17.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-32472
- 2026-10-03 Alias added: GHSA-m64q-4jqh-f72f
References
Other 4
More excalidraw vulnerabilities
- TI-2023-11364 Cross-site scripting in @excalidraw/excalidraw CVSS 3.1MEDIUM 6.1
Sources
- CVE-2024-32472 · CVE Program
- CVE-2024-32472 · NVD
- FIRST EPSS
- GHSA-m64q-4jqh-f72f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences