Loading advisory.
Loading advisory.
copyparty vulnerable to reflected cross-site scripting via k304 parameter
The application contains a reflected cross-site scripting via URL-parameter ?k304=... and ?setck=...
Published 2023-07-25 17:49 UTC · Modified 2025-09-04 16:43 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| copyparty | PyPI | < 1.8.7 git commits in https://github.com/9001/copyparty: < 007d948cb982daa05bc6619cd20ee55b7e834c38 versions 0.10.0, 0.10.1, 0.10.10, 0.10.11, 0.10.12, 0.10.13, 0.10.14, 0.10.15, 0.10.16, 0.10.17, 0.10.18, 0.10.19, 0.10.2, 0.10.20, 0.10.21, 0.10.22, 0.10.3, 0.10.4, 0.10.5, 0.10.6 and 210 more | 1.8.7, 007d948cb982daa05bc6619cd20ee55b7e834c38 | pip install --upgrade 'copyparty>=1.8.7'pip install --upgrade 'copyparty>=007d948cb982daa05bc6619cd20ee55b7e834c38' |
The application contains a reflected cross-site scripting via URL-parameter ?k304=... and ?setck=...
A reflected cross-site scripting (XSS) vulnerability exists in the web interface of the application that could allow an attacker to execute malicious javascript code by tricking users into accessing a malicious link.
The worst-case outcome of this is being able to move or delete existing files on the server, or upload new files, using the account of the person who clicks the malicious link.
It is recommended to change the passwords of your copyparty accounts, unless you have inspected your logs and found no trace of attacks.
if copyparty is running behind a reverse proxy, you can check the access-logs for traces of attacks, by grepping for URLs containing ?hc= with < somewhere in its value, for example using the following command:
nginx:
(gzip -dc access.log*.gz; cat access.log) | sed -r 's/" [0-9]+ .*//' | grep -iE '%0[da]%0[da]%0[da]%0[da]|[?&](hc|pw)=.*[<>]'the above commands also check for attacks against GHSA-cw7j-v52w-fp5r
https://localhost:3923/?k304=y%0D%0A%0D%0A%3Cimg+src%3Dcopyparty+onerror%3Dalert(1)%3E
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.092 on 2026-11-24 to 0.074 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.092 | first score | v2026.06.15 |
| 2026-11-26 | 0.074 | 0.092 | v2026.06.15 |