CVE-2023-38501
mediumpriority · track · 37EPSS 0.092 · 95 %ileexploit · functionalEURUUSEPSS · scored 2026-10-27
copyparty is file server software. Prior to version 1.8.7, the application contains a reflected cross-site scripting via URL-parameter `?k304=...` and `?setck=...`. 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 one's copyparty accounts, unless one have inspected one's logs and found no trace of attacks. Version 1.8.7 contains a patch for the issue.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- EDB-51635copyparty v1.8.6 - Reflected Cross Site Scripting (XSS)functional · exploit_db
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-f54q-j679-p9hhcopyparty vulnerable to reflected cross-site scripting via k304 parameter2023-07-25ghsa · osvUS
### Summary The application contains a reflected cross-site scripting via URL-parameter `?k304=...` and `?setck=...` ### Details 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. ### Checking for exposure 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: ```bash (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 ### PoC `https://localhost:3923/?k304=y%0D%0A%0D%0A%3Cimg+src%3Dcopyparty+onerror%3Dalert(1)%3E`
- PYSEC-2023-1322023-07-25vendor · osvUS
copyparty is file server software. Prior to version 1.8.7, the application contains a reflected cross-site scripting via URL-parameter `?k304=...` and `?setck=...`. 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 one's copyparty accounts, unless one have inspected one's logs and found no trace of attacks. Version 1.8.7 contains a patch for the issue.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-38501/cnnvd
- https://cxsecurity.com/issue/WLB-2023070083cnnvd
- https://github.com/9001/copyparty/commit/007d948cb982daa05bc6619cd20ee55b7e834c38cnnvd
- https://github.com/9001/copyparty/security/advisories/GHSA-f54q-j679-p9hhcnnvd
- https://packetstormsecurity.com/files/173821/Copyparty-1.8.6-Cross-Site-Scripting.htmlcnnvd
- https://www.exploit-db.com/exploits/51635cnnvd
- http://packetstormsecurity.com/files/173821/Copyparty-1.8.6-Cross-Site-Scripting.htmlenisa_euvd
- https://github.com/9001/copyparty/commit/007d948cb982daa05bc6619cd20ee55b7e834c38enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan