CVE-2024-32472

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

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.

Category

6.1
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.13%
Affected: excalidraw excalidraw
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-32472?
CVE-2024-32472 has been scored as a medium severity vulnerability.
How to fix CVE-2024-32472?
To fix CVE-2024-32472, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-32472 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-32472 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-32472?
CVE-2024-32472 affects excalidraw excalidraw.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.