CVE-2024-57783 Cross-site scripting in Dot

High 8.1 Published Updated

Attackers can execute arbitrary commands via XSS in the Dot desktop application due to unsafe DOM manipulation and Node.js API access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-57783?

CVE-2024-57783 is a high-severity cross-site scripting vulnerability in alexpinel Dot, published on 2 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The desktop application in Dot through 0.9.3 allows XSS and resultant command execution because user input and LLM output are appended to the DOM with innerHTML (in render.js), and because the Electron window can access Node.js APIs.

Weakness: CWE-79

Which versions are affected by CVE-2024-57783?

How do I fix CVE-2024-57783?

No fix has been published for CVE-2024-57783 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-57783 being exploited?

There is no known exploitation of CVE-2024-57783 in the wild and no public exploit code.

Sources

Also known as GHSA-xq2f-f4gq-58p8.

Is CVE-2024-57783 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free