logo

CVE-2023-26140 @excalidraw/excalidraw

Package

Manager: npm
Name: @excalidraw/excalidraw
Vulnerable Version: >=0 <0.15.3

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00195 pctl0.41598

Details

@excalidraw/excalidraw Cross-site Scripting vulnerability ### 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

Metadata

Created: 2023-08-16T21:00:33Z
Modified: 2023-08-16T21:00:33Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-v7v8-gjv7-ffmr/GHSA-v7v8-gjv7-ffmr.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-v7v8-gjv7-ffmr
Finding: F008
Auto approve: 1