← Vulnerability feed

Vulnerability record · CVE-2025-27145 · published 25 February 2025

CVE-2025-27145: 9001 copyparty cross-site scripting vulnerability

99001 · Copyparty

copyparty, a portable file server, has a DOM-based cross-site scripting vulnerability in versions prior to 1.16.15. The vulnerability is considered low-risk. By handing someone a maliciously-named file, and then tricking them into dragging the file into copyparty's Web-UI, an attacker could execute arbitrary javascript with the same privileges as that user. For example, this could give unintended read-access to files owned by that user. The bug is triggered by the drag-drop action itself; it is not necessary to actually initiate the upload. The file must be empty (zero bytes). Note that, as a general-purpose webserver, it is intentionally possible to upload HTML-files with arbitrary javascript in `<script>` tags, which will execute when the file is opened. The difference is that this vulnerability would trigger execution of javascript during the act of uploading, and not when the uploaded file was opened. Version 1.16.15 contains a fix.

6.1 CVSS 3.1 Medium EPSS 0.47% · top 61.9% CWE-79 · Cross-site scriptingCWE-83 · CWE-83
6.1CVSS 3.1 base score
0.47%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

copyparty, a portable file server, has a DOM-based cross-site scripting vulnerability in versions prior to 1.16.15. The vulnerability is considered low-risk. By handing someone a maliciously-named file, and then tricking them into dragging the file into copyparty's Web-UI, an attacker could execute arbitrary javascript with the same privileges as that user. For example, this could give unintended read-access to files owned by that user. The bug is triggered by the drag-drop action itself; it is not necessary to actually initiate the upload. The file must be empty (zero bytes). Note that, as a general-purpose webserver, it is intentionally possible to upload HTML-files with arbitrary javascript in `<script>` tags, which will execute when the file is opened. The difference is that this vulnerability would trigger execution of javascript during the act of uploading, and not when the uploaded file was opened. Version 1.16.15 contains a fix.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-27145 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2023-414719001 copyparty cross-site scripting vulnerabilityCross Site Scripting vulnerability in copyparty before 1.9.2 allows a local attacker to execute arbitrary code via a crafted payload to the WEEKEND-P…EPSS 0.26%7.5CVE-2025-547969001 copyparty uncontrolled resource consumption vulnerabilityCopyparty is a portable file server. Versions prior to 1.18.9, the filter parameter for the "Recent Uploads" page allows arbitrary RegExes. If this f…EPSS 0.42%7.5CVE-2023-37474Copyparty path traversal in .cpr subfolder exposes files outside web rootCopyparty versions before 1.8.2 contain a path traversal flaw in the .cpr subfolder, allowing access to files, directories and commands outside the w…EPSS 45%analysed6.1CVE-2026-279489001 copyparty cross-site scripting vulnerabilityCopyparty is a portable file server. In versions prior to 1.20.9, an XSS allows for reflected cross-site scripting via URL-parameter `?setck=...`. Ve…EPSS 0.27%6.1CVE-2025-545899001 copyparty cross-site scripting vulnerabilityCopyparty is a portable file server. In versions 1.18.6 and below, when accessing the recent uploads page at `/?ru`, users can filter the results usi…EPSS 2.4%6.1CVE-2025-544239001 copyparty cross-site scripting vulnerabilitycopyparty is a portable file server. In versions up to and including versions 1.18.4, an unauthenticated attacker is able to execute arbitrary JavaSc…EPSS 0.41%6.1CVE-2023-385019001 copyparty cross-site scripting vulnerabilitycopyparty is file server software. Prior to version 1.8.7, the application contains a reflected cross-site scripting via URL-parameter `?k304=...` an…EPSS 9.2%5.4CVE-2026-309749001 copyparty cross-site scripting vulnerabilityCopyparty is a portable file server. Prior to v1.20.11., the nohtml config option, intended to prevent execution of JavaScript in user-uploaded HTML …EPSS 0.34%

Source: NIST National Vulnerability Database (record CVE-2025-27145), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.