GHSA-v7v8-gjv7-ffmr

Suggest an improvement
Source
https://github.com/advisories/GHSA-v7v8-gjv7-ffmr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-v7v8-gjv7-ffmr/GHSA-v7v8-gjv7-ffmr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v7v8-gjv7-ffmr
Aliases
Published
2023-08-16T21:00:33Z
Modified
2023-11-08T04:11:59.743371Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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

Database specific
{
    "github_reviewed_at": "2023-08-16T21:00:33Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "nvd_published_at": null,
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / @excalidraw/excalidraw

Package

Name
@excalidraw/excalidraw
View open source insights on deps.dev
Purl
pkg:npm/%40excalidraw/excalidraw

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.15.3