Copyparty 1.18.6 - Reflected Cross-Site Scripting (XSS)
Source Exploit-DB RSS Feed
Rated by Threat Radar
Data as of 31 Oct 2025, 14:27 UTC
What to do
AI-suggested
European organizations should immediately audit their Copyparty deployments to identify affected versions. Until an official patch is released, implement strict input validation and output encoding on all user-supplied data in the web interface to prevent script injection. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts. Educate users about the risks of clicking suspicious links related to file-sharing services. Monitor web server logs for unusual requests that may indicate exploitation attempts. Consider isolating or restricting access to Copyparty instances to trusted networks only. Stay informed about updates from Copyparty developers and apply patches promptly once available. Additionally, use web application firewalls (WAFs) configured to detect and block XSS payloads targeting Copyparty endpoints.
Description
Copyparty 1.18.6 - Reflected Cross-Site Scripting (XSS)
Indicators of compromise
Exploit source code
/*
* Author : Byte Reaper
* CVE : CVE-2025-54589
* Title : Copyparty 1.18.6 - Reflected Cross-Site Scripting (XSS)
* CVE-2025-54589 is a reflected cross-site scripting (XSS) vulnerability in Copyparty (≤ 1.18.6) where the filter parameter is inserted into the HTML response without proper sanitization,
allowing an attacker to inject and execute arbitrary JavaScript in a victim’s browser
*/
#include <curl/urlapi.h>
#include <netinet/in.h>
#include <stdio.h>
#include <string.h…