CVE-2025-54589
copyparty Reflected XSS via Filter Parameter
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Copyparty 1.18.6 - Reflected Cross-Site Scripting (XSS)2025-08-03 · webapps · multiple
Impact
### 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> ```
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | copyparty | <= 1.18.6 | 1.18.7 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| 9001 | Copyparty | before 1.18.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/9001/copyparty/commit/a8705e611d05eeb22be5d3d7d9ab5c020fe54c62
- https://github.com/9001/copyparty/releases/tag/v1.18.7
- https://github.com/9001/copyparty/security/advisories/GHSA-8mx2-rjh8-q3jq
- https://github.com/advisories/GHSA-8mx2-rjh8-q3jq
- https://nvd.nist.gov/vuln/detail/CVE-2025-54589