GitHub Advisoryadvisory · PyPI
GHSA-62cr-6wp5-q43h Copyparty vulnerable to reflected XSS via setck parameter
MEDIUM
Official page ↗
- Aliases
- CVE-2026-27948
- Ecosystem
- PyPI
- Packages
- copyparty
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2026-02-26
Affected packages
• PyPI copyparty: < 1.20.9 → fixed in 1.20.9
Description
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).
Related
Alias · CVE (1)
- CVE-2026-27948 Copyparty is a portable file server. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/9001/copyparty/security/advisories/GHSA-62cr-6wp5-q43h web
- https://nvd.nist.gov/vuln/detail/CVE-2026-27948 advisory
- https://github.com/9001/copyparty/commit/31b2801fd041f803f4a3d5c12c7d7cb5419048bc web
- https://github.com/9001/copyparty package
- https://github.com/9001/copyparty/releases/tag/v1.20.9 web