CVE-2026-97224

Excalidraw Imported File restore.ts cross site scripting

Published Sep 24, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

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

  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Sep 24, 2026, 3:47 PM
Reserved
Sep 24, 2026, 9:43 AM
Status
Awaiting Analysis
Published
Sep 24, 2026, 3:18 PM
Modified
Sep 24, 2026, 9:04 PM