Copyparty 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 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, allowing for reflected Cross-Site Scripting (XSS) and can be exploited against both authenticated and unauthenticated users. This is fixed in version 1.18.7.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-79",
"CWE-80"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54589.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:9001:copyparty:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.18.7"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "a8705e611d05eeb22be5d3d7d9ab5c020fe54c62"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.18.7",
"range": [
{
"fixed": "daa44be1a595374cddecde6c2de5f925fbe8fd92"
}
],
"source": "REFERENCES_TAG"
}
]
}