{"cve":"CVE-2024-32472","nvd":{"published":"2024-04-17T22:15:08.557","modified":"2026-06-17T07:29:41.680","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79","CWE-80"],"references":["https://github.com/excalidraw/excalidraw/commit/6be752e1b6d776ccfbd3bb9eea17463cb264121d","https://github.com/excalidraw/excalidraw/commit/988f81911ca58e3ca2583e0dd44a954dd00e09d0","https://github.com/excalidraw/excalidraw/security/advisories/GHSA-m64q-4jqh-f72f","https://github.com/excalidraw/excalidraw/commit/6be752e1b6d776ccfbd3bb9eea17463cb264121d","https://github.com/excalidraw/excalidraw/commit/988f81911ca58e3ca2583e0dd44a954dd00e09d0"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:49:08.435428910+00:00"},"epss":{"cve":"CVE-2024-32472","score":0.00561,"percentile":0.46665,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m64q-4jqh-f72f","url":"https://osv.dev/vulnerability/GHSA-m64q-4jqh-f72f","summary":"Stored Cross-site Scripting (XSS) in excalidraw's web embed component","modified":"2026-09-10T03:50:12.897880448Z","packages":[{"ecosystem":"npm","name":"@excalidraw/excalidraw","purl":"pkg:npm/%40excalidraw/excalidraw","ranges":[">=0.16.0 <0.16.4"],"fixed":["0.16.4"]},{"ecosystem":"npm","name":"@excalidraw/excalidraw","purl":"pkg:npm/%40excalidraw/excalidraw","ranges":[">=0.17.0 <0.17.6"],"fixed":["0.17.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}