CVE-2023-26140
JSON

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 packageVersionsReported by
@excalidraw/excalidrawfrom 0.0.0 before *CVE List
@excalidraw/excalidraw (npm)before 0.15.3GitHub Advisory Database
excalidraw excalidrawNot specifiedNVD

All scores

snyk6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

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

SourceRecordLicence
CVE ListCVE-2023-26140 changed 2024-10-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-v7v8-gjv7-ffmr changed 2023-11-08CC-BY-4.0
NVDCVE-2023-26140 changed 2026-06-17Public domain