CVE-2026-25154 Details
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.
A stored cross-site scripting vulnerability has been identified in LocalSend versions through 1.17.0. When users initiate a 'Share via Link' session, the application launches a local HTTP server to share selected files. The web interface's client-side logic, located in 'app/assets/web/main.js', contains a function that generates the file list HTML by directly inserting filenames into the DOM without proper sanitization. This unsanitized filename, sourced from the file system via the 'prepare-download' API endpoint, can be exploited by renaming a file to include a malicious payload, such as an image tag with an error event handler. Once shared, this payload is executed in the browser of anyone accessing the shared link.
Users can update to LocalSend version 1.17.1 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| localsend localsend | <= 1.17.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 19, 2026 | Initial Analysis | [email protected] |
| Jan 30, 2026 | New CVE Received | [email protected] |