ADVISORIES

PyPA Advisory Database

PYSEC-2026-2137

Details

Copyparty is a portable file server. Prior to v1.20.11., the nohtml config option, intended to prevent execution of JavaScript in user-uploaded HTML files, did not apply to SVG images. A user with write-permission could upload an SVG containing embedded JavaScript, which would execute in the context of whichever user opens it. This has been fixed in v1.20.11.

Affected packages

EcosystemPackageAffected versions
PyPIcopyparty
All versions before 1.20.11 (fixed in 1.20.11)

References