Advisory

GHSA-v7v8-gjv7-ffmr

Also known as: CVE-2023-26140

Summary

@excalidraw/excalidraw Cross-site Scripting vulnerability

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-08-16 21:00 UTC
Modified
2023-11-08 04:11 UTC

Affected packages and fixes

@excalidraw/excalidraw

npm · All systems

Affected

  • introduced 0, fixed 0.15.3 (semver)

Fixed versions

0.15.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences