# CVE-2023-38501: copyparty vulnerable to reflected cross-site scripting via k304 parameter

Source: https://junglewise.ai/threats/cve-2023-38501-copyparty-vulnerable-to-reflected-cross-site-scripting-via-k304  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-07-25  
License: CC BY 4.0 with a link back

CVE-2023-38501 · Severity: low · CVSS 3.1 · Published 2023-07-25

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.

Technologies: [copyparty (PyPI)](https://junglewise.ai/threats/technologies/copyparty). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-38501 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-38501 being exploited in the wild.

**How severe is CVE-2023-38501?** Low severity, with a CVSS score of 3.1, published 25 July 2023.

**Which products and versions are affected?** copyparty (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.7, GIT:introduced=0,fixed=007d948cb982daa05bc6619cd20ee55b7e834c38|ECOSYSTEM:introduced=0,fixed=1.8.7.

**Is there a fix for CVE-2023-38501?** Yes. copyparty (PyPI): upgrade to 1.8.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-38501?** Check whether you run copyparty (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- copyparty (PyPI): upgrade to 1.8.7 or later

  ```sh
  pip install "copyparty>=1.8.7"
  ```


## Affected products

- copyparty (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.7, GIT:introduced=0,fixed=007d948cb982daa05bc6619cd20ee55b7e834c38|ECOSYSTEM:introduced=0,fixed=1.8.7

## Identifiers

- CVE-2023-38501
- GHSA-f54q-j679-p9hh
- PYSEC-2023-132

## Related threats

- [copyparty FTP path traversal in upload](https://junglewise.ai/threats/cve-2026-104102-copyparty-ftp-upload-outside-defined-volumes-limited-path)
- [Copyparty file/dirkey confusion authorization bypass](https://junglewise.ai/threats/cve-2026-70657-copyparty-file-dirkey-confusion-authorization-bypass)
- [PYSEC-2026-1279 - copyparty: Sharing a single file does not fully restrict access to other files in source folder](https://junglewise.ai/threats/cve-2025-58753-copyparty-sharing-a-single-file-does-not-fully-restrict-access-to)
- [PYSEC-2026-1275 - copyparty allows Regex Denial of Service (ReDoS) in the upload listing](https://junglewise.ai/threats/cve-2025-54796-copyparty-allows-regex-denial-of-service-redos-in-the-upload)
- [PYSEC-2026-1276 - copyparty Reflected XSS via Filter Parameter](https://junglewise.ai/threats/cve-2025-54589-copyparty-reflected-xss-via-filter-parameter)
