Vulnerability PYSEC-2026-1276

Medium Risk
MEDIUM RISK
CVSS Score: 6.3
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
3 months ago
July 07, 2026 at 04:02 PM UTC
copyparty Reflected XSS via Filter Parameter
0.2.3 - 1.18.6
0.2.3 - 1.18.6

Summary

copyparty Reflected XSS via Filter Parameter

Details

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>

Impacted packages

Timeline

Published
3 months ago
July 07, 2026 at 04:02 PM UTC
Fixed (1.18.7)
1 year ago
July 30, 2025 at 09:55 PM UTC
Last Modified
3 months ago
July 07, 2026 at 05:47 PM UTC