{"id":"CVE-2023-26140","aliases":["CVE-2023-26140","GHSA-v7v8-gjv7-ffmr"],"related":[],"kind":"vulnerability","state":"published","title":"@excalidraw/excalidraw Cross-site Scripting vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"}],"published":"2023-08-16T05:00:01.283Z","modified":"2026-06-17T05:42:46.040Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"*","status":"affected"}],"product":"@excalidraw/excalidraw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.15.3"}],"ecosystem":"npm","package":"@excalidraw/excalidraw","purl":"pkg:npm/%40excalidraw/excalidraw","source":"ghsa"},{"ranges":[],"vendor":"excalidraw","product":"excalidraw","cpe":"cpe:2.3:a:excalidraw:excalidraw:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-EXCALIDRAWEXCALIDRAW-5841658","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/excalidraw/excalidraw/pull/6728","tags":["issue-tracking","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/excalidraw/excalidraw/commit/b33fa6d6f64d27adc3a47b25c0aa55711740d0af","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/excalidraw/excalidraw/security/advisories/GHSA-v7v8-gjv7-ffmr","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26140","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/excalidraw/excalidraw","tags":["package"],"sources":["ghsa"]}],"credits":["Eugene Lim","The MOps Team"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-02T17:45:02.205Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-26140","url":"https://www.cve.org/CVERecord?id=CVE-2023-26140","licence":"CVE Terms of Use","modified":"2024-10-02T17:46:05.668Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v7v8-gjv7-ffmr","url":"https://github.com/advisories/GHSA-v7v8-gjv7-ffmr","licence":"CC-BY-4.0","modified":"2023-11-08T04:11:59.743Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-26140","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26140","licence":"Public domain","modified":"2026-06-17T05:42:46.040Z"}],"updatedAt":"2026-11-25T22:58:27.163Z","epss":{"score":0.00561,"percentile":0.4804,"date":"2026-12-01T12:00:22.000Z"}}