Description
A vulnerability was detected in Excalidraw up to 0.18.1. The impacted element is an unknown function of the file packages/excalidraw/data/restore.ts of the component Imported File Handler. Performing a manipulation of the argument customData.generationData.html results in cross site scripting. The attack is possible to be carried out remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Published: 2026-09-24
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross-site scripting that allows an attacker to execute arbitrary scripts in a victim’s browser context during file import
Action: Apply Fix
AI Analysis

Impact

A stored or reflected XSS flaw exists in Excalidraw’s Imported File Handler, where an attacker can manipulate the customData.generationData.html field of an import package to inject malicious script. This weakness maps to CWE-79 (XSS) and CWE-94 (Code Injection). When a compromised file is loaded by a user, the injected code runs with the same privileges as the user’s session, potentially allowing data exfiltration, session hijacking or UI manipulation.

Affected Systems

The vulnerability affects Excalidraw versions up to and including 0.18.1. Any installation of the Excalidraw web application or desktop client that has not been upgraded beyond 0.18.1 is potentially at risk.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. Since the exploit is already public, attackers can remotely target users who import crafted files without needing additional credentials. The EPSS score is unavailable, and the vulnerability is not listed in the CISA KEV catalog, but the remote nature of the attack and the lack of vendor response still represent a non-trivial risk, especially in environments where untrusted file imports are allowed.

Generated by OpenCVE AI on September 26, 2026 at 01:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Excalidraw release once the vendor provides a patch for the import file handler
  • Implement server‑side validation to reject or sanitize the customData.generationData.html field before processing import files
  • Enforce a strict content‑security‑policy that disallows inline scripts or restricts script sources

Generated by OpenCVE AI on September 26, 2026 at 01:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 24 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Description A vulnerability was detected in Excalidraw up to 0.18.1. The impacted element is an unknown function of the file packages/excalidraw/data/restore.ts of the component Imported File Handler. Performing a manipulation of the argument customData.generationData.html results in cross site scripting. The attack is possible to be carried out remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Title Excalidraw Imported File restore.ts cross site scripting
First Time appeared Excalidraw
Excalidraw excalidraw
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:excalidraw:excalidraw:*:*:*:*:*:*:*:*
Vendors & Products Excalidraw
Excalidraw excalidraw
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Excalidraw Excalidraw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-24T15:47:43.087Z

Reserved: 2026-09-24T09:43:39.888Z

Link: CVE-2026-97224

cve-icon Vulnrichment

Updated: 2026-09-24T15:46:10.224Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-24T15:18:01.227

Modified: 2026-09-24T21:04:40.340

Link: CVE-2026-97224

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T01:30:13Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')