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 <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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | copyparty | < 1.18.7 | 1.18.7 |
References
- https://github.com/9001/copyparty/security/advisories/GHSA-8mx2-rjh8-q3jq
- https://nvd.nist.gov/vuln/detail/CVE-2025-54589
- https://github.com/9001/copyparty/commit/a8705e611d05eeb22be5d3d7d9ab5c020fe54c62
- https://github.com/9001/copyparty
- https://github.com/9001/copyparty/releases/tag/v1.18.7
- https://pypi.org/project/copyparty
- https://github.com/advisories/GHSA-8mx2-rjh8-q3jq
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
copyparty- Disclosed
- 31.07.2025
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1276 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-8mx2-rjh8-q3jq - CC BY 4.0
Vulnerability history: copyparty
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 14
- First → latest
- 07.2023 08.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 3
- Medium 8
- Low 3
Disclosures per year
- 2023: 3
- 2024: 0
- 2025: 6
- 2026: 5
-
copyparty Reflected XSS via Filter Parameter this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.