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

copyparty Updated 02 Oct 2025

Summary

31/07/2025
Yes i
Moderate
6.3

CVE-2025-54589: copyparty Reflected XSS via Filter Parameter. Affects copyparty versions < 1.18.7. Fixed in 1.18.7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

copyparty is an open-source file sharing application that allows users to upload and share files over the web. It features a user-friendly interface and supports various file types. However, it has a vulnerability that allows for reflected Cross-Site Scripting (XSS) attacks, which can compromise user security.

Vulnerability Detail

The vulnerability arises from the improper handling of user input in the filter parameter on the recent uploads page. When users access this page, they can input a filter that is directly reflected in a script block without proper escaping. This flaw enables attackers to inject malicious JavaScript code, which can be executed in the browser of any user accessing the manipulated URL. This can lead to unauthorized actions, data theft, or session hijacking.

How To Fix

Latest published version: 1.20.26 as of 22 Oct 2026

pip install --upgrade "copyparty==1.20.26"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.18.7

This is the first release that contains the fix.

pip install --upgrade "copyparty==1.18.7"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using the filter parameter in the URL until the package is updated. If you must use it, ensure that the input is sanitized and validated to prevent the execution of malicious scripts.

Conclusion

The copyparty application has a reflected XSS vulnerability due to improper handling of user input in the filter parameter. It is crucial to update to version 1.18.7 or later to protect against potential attacks. Users should also be cautious and avoid using the vulnerable parameter until the update is applied.

See every vulnerability recorded for copyparty →

Share this vulnerability

FAQ

Reflected XSS is a type of security vulnerability where an attacker injects malicious scripts into a web application, which then reflects the script back to the user's browser without proper validation or escaping.

Both authenticated and unauthenticated users of the copyparty application are at risk of being affected by this vulnerability.

You can use the Vulert playground to check if your application is affected by this vulnerability without any signup. Visit Vulert Scanner to get started.

The CVSS score of this vulnerability is 6.3, indicating a moderate severity level.

If you cannot update the package right away, avoid using the filter parameter in the URL and ensure that any user input is properly sanitized to mitigate the risk of XSS attacks.

Related vulnerabilities

Recent vulnerabilities recorded for copyparty.

How To Fix

Latest published version: 1.20.26 as of 22 Oct 2026

pip install --upgrade "copyparty==1.20.26"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.18.7

This is the first release that contains the fix.

pip install --upgrade "copyparty==1.18.7"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback