Skip to main content
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…

CVE-2026-32109: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in 9001 copyparty

0
Low
VulnerabilityCVE-2026-32109cvecve-2026-32109cwe-79
Published: Wed Mar 11 2026 (03/11/2026, 20:16:34 UTC)
Source: CVE Database V5
Vendor/Project: 9001
Product: copyparty

Description

Copyparty is a portable file server. Prior to 1.20.12, if an attacker has been given both read- and write-permissions to the server, they can upload a malicious file with the filename .prologue.html and then craft a link to potentially execute arbitrary JavaScript in the victim's context. Note that it is intended behavior that the JavaScript would execute if the target clicks a link to the HTML file itself; "https://example.com/foo/.prologue.html". The vulnerability is that "https://example.com/foo/?b" would also evaluate the file, making the behavior unexpected. There are existing preventative measures (strict SameSite cookies) which makes it harder to leverage this vulnerability in an attack; in order to gain control of the target's authenticated session, the link must be clicked from a page served by the server itself -- most likely by editing an existing resource, which would require additional access permissions. Finally, for this attack to be successful, the attacker's target must click the specific crafted link given by the attacker. This vulnerability is not activated by normally browsing the web-UI on the server. This vulnerability is fixed in 1.20.12.

AI-Powered Analysis

AILast updated: 03/11/2026, 20:44:26 UTC

Technical Analysis

CVE-2026-32109 is a cross-site scripting (XSS) vulnerability classified under CWE-79 affecting copyparty, a portable file server, in versions prior to 1.20.12. The flaw occurs because the server improperly neutralizes input during web page generation, specifically when handling a file named .prologue.html. An attacker with both read and write permissions can upload this specially named HTML file containing malicious JavaScript. The vulnerability is triggered when a user accesses a URL with a query string appended to the path containing .prologue.html (e.g., https://example.com/foo/?b), causing the server to evaluate and execute the JavaScript within the .prologue.html file unexpectedly. Normally, JavaScript execution is expected only when directly accessing the .prologue.html file itself. The attack vector requires the attacker to have write access to upload or modify resources on the server and the victim to click a crafted link. The presence of strict SameSite cookie attributes mitigates the risk of session hijacking by limiting cross-site request forgery. The vulnerability does not activate during normal navigation of the copyparty web UI, reducing the likelihood of accidental exploitation. No known exploits have been reported in the wild. The issue was addressed and fixed in version 1.20.12 of copyparty.

Potential Impact

The primary impact of this vulnerability is the potential execution of arbitrary JavaScript in the context of the victim's browser session when interacting with the copyparty server. This could lead to limited confidentiality and integrity impacts, such as theft of session tokens or manipulation of client-side data. However, exploitation requires the attacker to have both read and write permissions on the server, which limits the scope to users who already have elevated access. Additionally, the victim must actively click a crafted link, further reducing the risk. The vulnerability does not affect availability. Due to strict SameSite cookie policies, the risk of session hijacking is mitigated, making large-scale exploitation difficult. Organizations using copyparty servers with multiple users and shared permissions could face targeted attacks aiming to escalate privileges or steal session information. Overall, the impact is low but should not be ignored in environments where copyparty is used for sensitive file sharing.

Mitigation Recommendations

To mitigate this vulnerability, organizations should upgrade copyparty to version 1.20.12 or later, where the issue is fixed. Until upgrading, administrators should restrict write permissions strictly to trusted users to prevent unauthorized upload or modification of .prologue.html files. Implement monitoring and alerting for the presence of suspicious files named .prologue.html or unusual query string access patterns on the server. Enforce strict content security policies (CSP) on the server to limit the execution of unauthorized scripts. Educate users to avoid clicking suspicious or unsolicited links, especially those containing query parameters that could trigger unexpected behavior. Consider isolating copyparty instances in segmented network zones to limit exposure. Regularly audit user permissions and review server logs for anomalous activity related to file uploads and URL access patterns. These steps will reduce the likelihood of exploitation and limit the potential damage if exploited.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-10T22:02:38.854Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b1d0c22f860ef94375752b

Added to database: 3/11/2026, 8:29:54 PM

Last enriched: 3/11/2026, 8:44:26 PM

Last updated: 3/13/2026, 4:18:00 PM

Views: 15

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 require Pro Console access. Upgrade inside Console → Billing.

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

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses