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

Published Jul 31, 2025
·
Updated

Summary Unauthorized reflected Cross-Site-Scripting when accessing the URL for recent uploads with the filter parameter containing JavaScript code.

Details 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. This vulnerability allows for reflected Cross-Site Scripting (XSS) and can be exploited against both authenticated and unauthenticated users, enabling unwanted actions in the victims browser.

PoC A URL like this will execute alert(1): https://127.0.0.1:3923/?ru&filter=</script><script>alert(1)</script>

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
pip/copyparty<=1.18.6
1.18.7
9001 Copyparty<1.18.7

Event History

Jul 31, 2025
Advisory Published
via GitHub·01:48 PM
Data Sourced
via GitHub·01:48 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·01:48 PM
Data Sourced
via MITRE·01:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
RemedyAffected Software
Aug 3, 2025
Exploit Published
12:00 AM
Known Exploited
06:55 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-54589?

CVE-2025-54589 is considered a high severity vulnerability due to the potential for unauthorized Cross-Site Scripting (XSS) attacks.

2

How do I fix CVE-2025-54589?

To mitigate CVE-2025-54589, upgrade the copyparty package to version 1.18.7 or later.

3

What is Cross-Site Scripting in the context of CVE-2025-54589?

In the context of CVE-2025-54589, Cross-Site Scripting refers to the vulnerability that allows attackers to inject malicious scripts via the filter parameter.

4

Which versions of copyparty are affected by CVE-2025-54589?

CVE-2025-54589 affects copyparty versions up to and including 1.18.6.

5

Where can I find more information about CVE-2025-54589?

More information about CVE-2025-54589 can be found in security advisories related to the copyparty project.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203