CVE-2026-25154 LocalSend has Stored XSS in Web Share Interface via Filename
Attackers can inject malicious scripts via filenames in LocalSend's web share interface, potentially executing code or stealing data from users viewing the shared files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-25154?
CVE-2026-25154 is a medium-severity cross-site scripting vulnerability in localsend, published on 30 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
LocalSend is a free, open-source app that allows users to share files and messages with nearby devices over their local network without needing an internet connection. In versions up to and including 1.17.0, when a user initiates a "Share via Link" session, the LocalSend application starts a local HTTP server to host the selected files. The client-side logic for this web interface is contained in `app/assets/web/main.js`. Note that at [0], the `handleFilesDisplay` function constructs the HTML for the file list by iterating over the files received from the server. Commit 8f3cec85aa29b2b13fed9b2f8e499e1ac9b0504c contains a patch.
Weakness: CWE-79
Which versions are affected by CVE-2026-25154?
It affects 1 product.
Products include Localsend Localsend.
How do I fix CVE-2026-25154?
No fix has been published for CVE-2026-25154 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-2026-25154 being exploited?
There is no known exploitation of CVE-2026-25154 in the wild and no public exploit code.
Other vulnerabilities in localsend
Sources
Also known as GHSA-34v6-52hh-x4r4.