{"id":"CVE-2023-26140","aliases":["EUVD-2023-2357","GHSA-v7v8-gjv7-ffmr"],"status":"published","title":"@excalidraw/excalidraw Cross-site Scripting vulnerability","description":"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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00561,"percentile":0.47117,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2023-08-16T05:00:01Z","modified":"2026-11-11T02:30:27Z","fixes":[{"ecosystem":"npm","package":"@excalidraw/excalidraw","fixed_in":["0.15.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@excalidraw/excalidraw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.3"}]}]},{"source":"osv","ecosystem":"npm","package":"@excalidraw/excalidraw","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.15.3"}]}]}],"products":[{"vendor":"excalidraw","product":"excalidraw"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-EXCALIDRAWEXCALIDRAW-5841658","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/excalidraw/excalidraw/pull/6728","tags":["x_transferred","Issue Tracking","fix","web"]},{"url":"https://github.com/excalidraw/excalidraw/commit/b33fa6d6f64d27adc3a47b25c0aa55711740d0af","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/excalidraw/excalidraw/security/advisories/GHSA-v7v8-gjv7-ffmr","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26140","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v7v8-gjv7-ffmr"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26140.json","tags":["advisory"]},{"url":"https://github.com/excalidraw/excalidraw","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-26140","description":"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.","status":"published","published":"2023-08-16T05:00:01.283Z","modified":"2024-10-02T17:46:05.668Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:15.434947Z"}],"euvd":[{"id":"EUVD-2023-2357","description":"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.","status":"published","published":"2023-08-16T05:00:01Z","modified":"2024-10-02T17:46:05Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","level":"medium"}],"updated_at":"2026-11-03T00:27:57.212945Z"}],"ghsa":[{"id":"GHSA-v7v8-gjv7-ffmr","title":"@excalidraw/excalidraw Cross-site Scripting vulnerability","description":"### 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","status":"published","published":"2023-08-16T21:00:33Z","modified":"2023-08-16T21:00:33Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:59.456342Z"}],"nvd":[{"id":"CVE-2023-26140","description":"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.","status":"published","published":"2023-08-16T05:15:09.81Z","modified":"2026-06-17T05:42:46.04Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:08:24.487686Z"}],"osv":[{"id":"CVE-2023-26140","description":"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.","status":"published","published":"2023-08-16T05:00:01.283Z","modified":"2026-11-11T10:31:03.256982134Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-11T02:50:43.46164Z"},{"id":"GHSA-v7v8-gjv7-ffmr","title":"@excalidraw/excalidraw Cross-site Scripting vulnerability","description":"### 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","status":"published","published":"2023-08-16T21:00:33Z","modified":"2023-11-08T04:11:59.743371Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:56.981655Z"}]}}
