Skip to content
OpenAdvisories
Medium · 4.6 CVE-2026-30974 EUVD-2026-10711GHSA-m6hv-x64c-27mmPYSEC-2026-2137

Copyparty volflag `nohtml` did not block javascript in svg files

Published Mar 10, 2026 · Updated Mar 11, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
9001 copyparty < 1.20.11 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI copyparty < 1.20.11 1.20.11 GHSA-m6hv-x64c-27mm

References