cve.bz

CVE-2024-32472

6.1 mediumEPSS 0.6%

Medium (6.1). EPSS 0.6% chance of exploitation in the next 30 days. Fixed in @excalidraw/excalidraw 0.16.4, 0.17.6.

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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.6% chance of exploitation in the next 30 days; higher than 46% of CVEs (scores of 2026-10-31)
CWEs
CWE-79, CWE-80
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m64q-4jqh-f72fnpm@excalidraw/excalidraw>=0.16.0 <0.16.40.16.4
GHSA-m64q-4jqh-f72fnpm@excalidraw/excalidraw>=0.17.0 <0.17.60.17.6

References

Check your stackJSON