Advisory

GHSA-62cr-6wp5-q43h

Also known as: CVE-2026-27948, PYSEC-2026-2136

Summary

Copyparty vulnerable to reflected XSS via setck parameter

Details

Summary
An XSS allows for reflected cross-site scripting via URL-parameter ?setck=...

Details
A reflected cross-site scripting (XSS) vulnerability could allow an attacker to execute malicious javascript by tricking users into accessing a malicious link.

The worst-case outcome of this is being able to move or delete existing files on the server, or upload new files, using the account of the person who clicks the malicious link.

Indicators of Compromise
All attempted attacks (successful or not) would be logged to both the copyparty serverlog and the accesslog of the reverseproxy, and are detected by grep -E '[?&]setck=[^&"]*%' (the text setck= eventually followed by the % character).

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-26 22:33 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

copyparty

PyPI · All systems

Affected

  • introduced 0, fixed 1.20.9 (ecosystem)

Fixed versions

1.20.9

Fix

  • Fixed version 1.20.9
    pip install --upgrade copyparty==1.20.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences