{"id":"CVE-2023-38501","published":"2023-07-25T21:06:18Z","modified":"2025-02-13T17:01:52Z","title":"copyparty vulnerable to reflected cross-site scripting via k304 parameter","vendor":"9001","product":"copyparty","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.09246,"percentile":0.95475,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/9001/copyparty/security/advisories/GHSA-f54q-j679-p9hh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/9001/copyparty/commit/007d948cb982daa05bc6619cd20ee55b7e834c38","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/173821/Copyparty-1.8.6-Cross-Site-Scripting.html","tags":[]}],"priority":{"score":28.5,"factors":[{"name":"EPSS percentile","points":19.09},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2023-07-28"},"nuclei":[{"id":"CVE-2023-38501","name":"CopyParty v1.8.6 - Cross Site Scripting","severity":"medium","path":"http/cves/2023/CVE-2023-38501.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-38501.yaml"}],"first":{"date":"2023-07-28","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/51635"},"provenance":"source"},"vendorSlug":"9001","affectedVersions":[{"vendor":"9001","product":"copyparty","versions":["< 1.8.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-10T16:25:02.755347Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"copyparty","vulnerableRanges":["<1.8.7"],"patched":["1.8.7"],"from":["GHSA-f54q-j679-p9hh","PYSEC-2023-132"],"provenance":"source"}],"summary":{"text":"The copyparty file server contains a reflected cross-site scripting flaw in its handling of the k304 and setck URL parameters in versions prior to 1.8.7. An attacker who gets a user to click a crafted link can run script in that user's browser session, which could let them move, delete or upload files using that user's account; exploitation requires network access to the server and user interaction, with no authentication needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:18:18Z"},"euvd":{"id":"EUVD-2023-0056","exploited":false,"provenance":"source"},"exploits":[{"id":51635,"url":"https://www.exploit-db.com/exploits/51635","title":"copyparty v1.8.6 - Reflected Cross Site Scripting (XSS)","date":"2023-07-28","verified":true,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/173821/Copyparty-1.8.6-Cross-Site-Scripting.html"],"lineage":{"familyId":"fam-9001-copyparty-cve-2023-37474","parents":[{"from":"CVE-2023-37474","to":"CVE-2023-38501","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:copyparty","fromFixed":"1.8.2","toFixed":"1.8.7","daysApart":11},{"kind":"same-code","provenance":"machine","files":["copyparty/httpcli.py"],"commits":["https://github.com/9001/copyparty/commit/043e3c7dd683113e2b1c15cacb9c8e68f76513ff","https://github.com/9001/copyparty/commit/007d948cb982daa05bc6619cd20ee55b7e834c38"],"basis":"shared function","functions":["handle_get"]}]}],"children":[{"from":"CVE-2023-38501","to":"CVE-2026-27948","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["copyparty/util.py"],"commits":["https://github.com/9001/copyparty/commit/007d948cb982daa05bc6619cd20ee55b7e834c38","https://github.com/9001/copyparty/commit/31b2801fd041f803f4a3d5c12c7d7cb5419048bc"],"basis":"shared function","functions":["run","tx_mounts"]},{"kind":"similar","provenance":"machine","score":0.41,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2023-38501","to":"CVE-2026-30974","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["copyparty/util.py"],"commits":["https://github.com/9001/copyparty/commit/007d948cb982daa05bc6619cd20ee55b7e834c38","https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5"],"basis":"shared function","functions":["handle_get","run","send_headers"]}]}],"packageHistory":[{"cve":"CVE-2023-37474","published":"2023-07-14","fixed":"1.8.2","kev":false},{"cve":"CVE-2023-38501","published":"2023-07-25","fixed":"1.8.7","kev":false},{"cve":"CVE-2025-27145","published":"2025-02-25","fixed":"1.16.15","kev":false,"link":{"from":"CVE-2023-38501","to":"CVE-2025-27145","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:copyparty","fromFixed":"1.8.7","toFixed":"1.16.15","daysApart":581}]}},{"cve":"CVE-2025-54423","published":"2025-07-28","fixed":"1.18.5","kev":false},{"cve":"CVE-2025-54589","published":"2025-07-31","fixed":"1.18.7","kev":false}],"package":"PyPI:copyparty"}}