CVE-2025-54589: copyparty Reflected XSS via Filter Parameter
Summary Unauthorized reflected Cross-Site-Scripting when accessing the URL for recent uploads with the filter parameter containing JavaScript code. Details When accessing the recent uploads page at /?ru, users can filter the results using an input field at the top. This field appends a filter parameter to the URL, which reflects its value directly into a block without proper escaping.
Published Jul 31, 2025
Affected packages
copyparty
- Ecosystem
- PyPI
- Affected
- <= 1.18.6
- Fixed in
- 1.18.7
- Check
pip show copyparty
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Unauthorized reflected Cross-Site-Scripting when accessing the URL for recent uploads with the filter parameter containing JavaScript code.
Details
When accessing the recent uploads page at /?ru, users can filter the results using an input field at the top. This field appends a filter parameter to the URL, which reflects its value directly into a <script> block without proper escaping. This vulnerability allows for reflected Cross-Site Scripting (XSS) and can be exploited against both authenticated and unauthenticated users, enabling unwanted actions in the victims browser.
PoC
A URL like this will execute alert(1):
https://127.0.0.1:3923/?ru&filter=</script><script>alert(1)</script>Credited to Ju0x.
References
- https://github.com/9001/copyparty/security/advisories/GHSA-8mx2-rjh8-q3jq
- https://github.com/9001/copyparty/commit/a8705e611d05eeb22be5d3d7d9ab5c020fe54c62
- https://github.com/9001/copyparty/releases/tag/v1.18.7
- https://nvd.nist.gov/vuln/detail/CVE-2025-54589
- https://github.com/advisories/GHSA-8mx2-rjh8-q3jq
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-104102
copyparty FTP: upload outside defined volumes (limited path traversal)
medium5.3Oct 15, 2026CVE-2026-70657
Copyparty vulnerable to file/dirkey confusion
medium4.3Aug 18, 2026CVE-2026-32108
Copyparty ftp/sftp: Sharing a single file did not fully restrict source-folder access
low2.3Mar 12, 2026CVE-2026-32109
Copyparty has unexpected JavaScript execution via crafted URL to folder with `.prologue.html`
low3.7Mar 12, 2026CVE-2026-30974
copyparty: volflag `nohtml` did not block javascript in svg files
medium4.6Mar 10, 2026CVE-2026-27948
Copyparty vulnerable to reflected XSS via setck parameter
medium5.4Feb 26, 2026
