Skip to main content
DashboardThreatsMapFeedsAPI
reconnecting
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Copyparty 1.18.6 - Reflected Cross-Site Scripting (XSS)

0
Medium
Published: Sun Aug 03 2025 (08/03/2025, 00:00:00 UTC)
Source: Exploit-DB RSS Feed

Description

Copyparty 1.18.6 - Reflected Cross-Site Scripting (XSS)

AI-Powered Analysis

AILast updated: 10/04/2025, 00:54:08 UTC

Technical Analysis

The identified security threat pertains to a Reflected Cross-Site Scripting (XSS) vulnerability in Copyparty version 1.18.6. Copyparty is a web-based file sharing application that allows users to share files over HTTP without requiring installation or complex configuration. The reflected XSS vulnerability arises when user-supplied input is improperly sanitized and then immediately echoed back in the HTTP response, enabling an attacker to inject malicious scripts into the victim's browser. This type of vulnerability can be exploited by crafting a specially crafted URL containing malicious JavaScript code. When a user clicks on this URL, the injected script executes in the context of the victim's browser session with Copyparty, potentially leading to session hijacking, theft of cookies, defacement, or redirection to malicious sites. The exploit code is available and written in the C programming language, indicating that the vulnerability can be reliably triggered using a crafted client or automated tool. Although no specific affected versions are listed beyond 1.18.6, the vulnerability is confirmed in this release. There is no mention of a patch or mitigation from the vendor at this time. The vulnerability does not require authentication or user privileges, but it does require user interaction in the form of clicking a malicious link. The lack of a CVSS score necessitates an independent severity assessment based on the impact and exploitability factors.

Potential Impact

For European organizations using Copyparty 1.18.6, the reflected XSS vulnerability poses a moderate risk primarily to confidentiality and integrity of user sessions. Attackers can leverage this vulnerability to steal session cookies or credentials, potentially gaining unauthorized access to shared files or administrative functions if sessions are compromised. This can lead to data leakage, unauthorized file access, or manipulation of shared content. The impact on availability is limited, as XSS typically does not disrupt service operation directly. However, successful exploitation could erode user trust and lead to reputational damage, especially for organizations handling sensitive or regulated data under GDPR. Since Copyparty is often used in small to medium enterprises or by individuals for file sharing, the scale of impact depends on deployment scope. European organizations with public-facing Copyparty instances are at risk, particularly if users are not trained to recognize phishing or malicious links. The absence of known exploits in the wild currently reduces immediate risk but does not preclude future attacks.

Mitigation Recommendations

To mitigate this reflected XSS vulnerability, European organizations should first verify if they are running Copyparty version 1.18.6 and plan an immediate upgrade once a patched version is released. In the interim, organizations should implement web application firewall (WAF) rules to detect and block suspicious input patterns commonly used in XSS attacks. Input validation and output encoding should be enforced at the application level to sanitize user inputs and prevent script injection. Organizations should also educate users about the risks of clicking on unsolicited or suspicious links, especially those purporting to lead to file shares. Employing Content Security Policy (CSP) headers can help restrict the execution of unauthorized scripts in browsers. Additionally, monitoring logs for unusual URL requests and anomalous user behavior can help detect exploitation attempts early. If feasible, restricting access to Copyparty instances via VPN or IP whitelisting can reduce exposure to external attackers.

Need more detailed analysis?Get Pro

Technical Details

Edb Id
52390
Has Exploit Code
true
Code Language
c

Indicators of Compromise

Exploit Source Code

Exploit Code

Exploit code for Copyparty 1.18.6 - Reflected Cross-Site Scripting (XSS)

/*
 * 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
... (12479 more characters)
Code Length: 12,979 characters • Language: C/C++

Threat ID: 68900844ad5a09ad00dd9e01

Added to database: 8/4/2025, 1:09:24 AM

Last enriched: 10/4/2025, 12:54:08 AM

Last updated: 10/7/2025, 8:49:13 PM

Views: 44

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats