6.1medium
@excalidraw/excalidraw Cross-site Scripting vulnerability
- Severity
- 6.1medium CVSS:3.1 by snyk
- Exploit likelihood
- 0.56% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-v7v8-gjv7-ffmr
Description
Versions of the package @excalidraw/excalidraw from 0.0.0 are vulnerable to Cross-site Scripting (XSS) via embedded links in whiteboard objects due to improper input sanitization.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| @excalidraw/excalidraw | from 0.0.0 before * | CVE List |
| @excalidraw/excalidraw (npm) | before 0.15.3 | GitHub Advisory Database |
| excalidraw excalidraw | Not specified | NVD |
All scores
| snyk | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Versions of the package @excalidraw/excalidraw from 0.0.0 are vulnerable to Cross-site Scripting (XSS) via embedded links in whiteboard objects due to improper input sanitization.
GitHub Advisory Database
Impact
XSS vulnerability due to improperly sanitizing URLs of links that can be attached on canvas elements. This affects users of the npm package @excalidraw/excalidraw provided it was deployed in environments where untrusted user input in drawings that are then shared with third parties is a concern. If you only hosted the editor in trusted environments, or sharing didn't take place, the impact is minimized.
Patches
Patch is available on version 0.15.3 and up (stable), or latest @excalidraw/excalidraw@next (unstable releases).
Workarounds
No workaround without upgrading unless deployed in environments without untrusted user input.
References
https://security.snyk.io/vuln/SNYK-JS-EXCALIDRAWEXCALIDRAW-5841658 https://github.com/excalidraw/excalidraw/pull/6728
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-26140 changed 2024-10-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v7v8-gjv7-ffmr changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2023-26140 changed 2026-06-17 | Public domain |