Read the docs
TI-2024-21366 Aliases CVE-2024-32472GHSA-m64q-4jqh-f72f

excalidraw vulnerable to a Stored XSS in excalidraw's web embed component

Priority MEDIUM 60CWE-79Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00561 46th percentileScored 2026-11-07
Fix Fixed excalidraw (excalidraw): 0.16.4, 0.17.6@excalidraw/excalidraw (npm): 0.16.4, 0.17.6

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

VendorProductAffected versionsFixed inStatusSource
excalidrawexcalidraw0.16.0 to before 0.16.4; 0.17.0 to before 0.17.60.16.4, 0.17.6Patch availableCNA
—@excalidraw/excalidraw (npm)0.16.0 to before 0.16.40.16.4Patch availableGHSA-m64q-4jqh-f72f
—@excalidraw/excalidraw (npm)0.17.0 to before 0.17.60.17.6Patch availableGHSA-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

CPEVersionsRoleVendor
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

  1. 2026-10-02 Threatist record created from CVE-2024-32472
  2. 2026-10-03 Alias added: GHSA-m64q-4jqh-f72f

References

  • TI-2023-11364 Cross-site scripting in @excalidraw/excalidraw CVSS 3.1MEDIUM 6.1

Sources