---
id: CVE-2026-27948
aliases:
  - GHSA-62cr-6wp5-q43h
  - PYSEC-2026-2136
title: Copyparty vulnerable to reflected XSS via setck parameter
summary: Copyparty vulnerable to reflected XSS via setck parameter
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'
vendor: copyparty
product: copyparty
ecosystem: pip
affected:
  - copyparty < 1.20.9
patched:
  - copyparty 1.20.9
published: '2026-02-26'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-62cr-6wp5-q43h'
references:
  - url: 'https://github.com/9001/copyparty/security/advisories/GHSA-62cr-6wp5-q43h'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-27948'
  - url: >-
      https://github.com/9001/copyparty/commit/31b2801fd041f803f4a3d5c12c7d7cb5419048bc
  - url: 'https://github.com/9001/copyparty'
  - url: 'https://github.com/9001/copyparty/releases/tag/v1.20.9'
tags:
  - osv
  - pip
epss: 0.00273
epssPercentile: 0.17578
ingestedAt: '2026-07-13T18:57:53.576Z'
---

## Overview

### 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).

## Affected packages

- `copyparty < 1.20.9`

## Remediation

Upgrade to a patched release:

- `copyparty 1.20.9`
