Skip to content
Heist/ feed
Back to feed
Medium

LocalSend has Stored XSS in Web Share Interface via Filename

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-25154
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 09:23 UTC · Revision 1

Source evidence

LocalSend has Stored XSS in Web Share Interface via Filename

core-osv · Original source

Published 30 Jan 2026, 21:59 UTC

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.

osv:CVE-2026-25154
Complete source record
{
  "id": "cf90c04dcd841568e34c4f49117e38caeaec70b0c5219389d4ce8b4754fd3c89",
  "url": "https://osv.dev/vulnerability/CVE-2026-25154",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "LocalSend has Stored XSS in Web Share Interface via Filename",
    "summary": "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.",
    "evidence": "osv:CVE-2026-25154",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-25154",
      "aliases": [
        "CVE-2026-25154",
        "GHSA-34v6-52hh-x4r4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/localsend/localsend",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8f3cec85aa29b2b13fed9b2f8e499e1ac9b0504c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:localsend:localsend:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.17.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8f3cec85aa29b2b13fed9b2f8e499e1ac9b0504c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.17.0",
            "v1.16.1",
            "v1.16.0",
            "v1.15.4",
            "v1.15.3",
            "v1.15.2",
            "v1.15.1",
            "v1.15.0",
            "v1.14.0",
            "v1.13.1",
            "v1.13.0-fdroid",
            "v1.13.0",
            "v1.12.0",
            "v1.11.1",
            "v1.11.0",
            "v1.10.0",
            "v1.9.1",
            "v1.9.0",
            "v1.8.0",
            "v1.6.2",
            "v1.6.1",
            "v1.5.2",
            "v1.5.0",
            "v1.3.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25154.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:47.257320365Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25154.json",
        "https://github.com/localsend/localsend/security/advisories/GHSA-34v6-52hh-x4r4",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-25154",
        "https://github.com/localsend/localsend/commit/8f3cec85aa29b2b13fed9b2f8e499e1ac9b0504c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25154.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-25154",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 515070,
  "published_at": "2026-01-30T21:59:30.234+00:00"
}