@excalidraw/excalidraw@0.16.1-02cc844 vulnerabilities

Excalidraw as a React component

Direct Vulnerabilities

Known vulnerabilities in the @excalidraw/excalidraw package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in element/embeddable.ts, via an iframe's srcdoc, where HTML attributes are not properly sanitized. When the ALLOW_SAME_ORIGIN sandbox flag (which is necessary for some embeds) is enabled, an attacker can execute scripts via embed URL.

How to fix Cross-site Scripting (XSS)?

Upgrade @excalidraw/excalidraw to version 0.16.4, 0.17.6 or higher.

>=0.16.0 <0.16.4 >=0.17.0 <0.17.6