Stored XSS vulnerability in Excalidraw's web embeddable component
CVE-2024-32472

6.1MEDIUM

Key Information:

Vendor

Excalidraw

Vendor
CVE Published:
17 April 2024

What is CVE-2024-32472?

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.

Affected Version(s)

excalidraw >=0.16.0, <0.16.4 < 0.16.0, 0.16.4

excalidraw >= 0.17.0, <0.17.6 < 0.17.0, 0.17.6

References

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.