{"id":"CVE-2023-26140","aliases":["GHSA-v7v8-gjv7-ffmr"],"url":"https://o3.security/vulnerability/CVE-2023-26140","summary":"@excalidraw/excalidraw Cross-site Scripting vulnerability","details":"### Impact\n\nXSS 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.\n\n### Patches\n\nPatch is available on version 0.15.3 and up (stable), or latest `@excalidraw/excalidraw@next` (unstable releases).\n\n### Workarounds\n\nNo workaround without upgrading unless deployed in environments without untrusted user input.\n\n### References\n\nhttps://security.snyk.io/vuln/SNYK-JS-EXCALIDRAWEXCALIDRAW-5841658\nhttps://github.com/excalidraw/excalidraw/pull/6728","published":"2023-08-16T05:00:01.283Z","modified":"2026-08-12T03:51:34.125499880Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P"},"epss":{"score":0.00561,"percentile":0.4412,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@excalidraw/excalidraw","fixedVersion":"0.15.3"}],"fix":{"url":"https://github.com/excalidraw/excalidraw/commit/b33fa6d6f64d27adc3a47b25c0aa55711740d0af","label":"excalidraw/excalidraw@b33fa6d"},"references":[{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-EXCALIDRAWEXCALIDRAW-5841658"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26140.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26140"},{"type":"FIX","url":"https://github.com/excalidraw/excalidraw/commit/b33fa6d6f64d27adc3a47b25c0aa55711740d0af"},{"type":"FIX","url":"https://github.com/excalidraw/excalidraw/pull/6728"},{"type":"WEB","url":"https://github.com/excalidraw/excalidraw/security/advisories/GHSA-v7v8-gjv7-ffmr"},{"type":"PACKAGE","url":"https://github.com/excalidraw/excalidraw"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:34.125499880Z"}}