CVE-2024-32472

    Dashboard / Vulnerabilities / CVE-2024-32472

    CVE-2024-32472

    Published: 17 Apr 2024Last Modified: 12 Aug 2026

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

    Details: 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 packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 0a588a880b972f4e2f15e23bc244cce1c1ff2160
    Fixed -None

    Affected versions

    v0.16.3
    v0.16.2
    v0.16.1
    v0.16.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2024-32472 | CVE-DB