CVE-2024-32472
published medium CVSS 3.1 · 6.1excalidraw vulnerable to a Stored XSS in excalidraw's web embed component
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| excalidraw | excalidraw | >=0.16.0, <0.16.4 (affected)>= 0.17.0, <0.17.6 (affected) | GitHub_M · cna |
| excalidraw | excalidraw | 0.16.0 to < 0.16.4 (affected · custom)0.17.0 to < 0.17.6 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
3Provider assertions
3GitHub_M · cna
excalidraw vulnerable to a Stored XSS in excalidraw's web embed component
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 74e913f5dfd2c56bef7248a96519477ce6e618b52231fd9b19be02349af7f03a
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record