Vulnerability · Published Mar 10, 2026 · Assigned by GitHub_M

CVE-2026-30974Copyparty volflag `nohtml` did not block javascript in svg files

Medium 4.6

In plain English

A medium-severity cross-site scripting in copyparty from 9001. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.6Medium
Exploit odds (30 days)0.4%top 67.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIcopyparty1.20.11GHSA-m6hv-x64c-27mm
PyPIcopyparty1.20.11PYSEC-2026-2137

Affected products (as reported)

VendorProductVersions
9001 copyparty < 1.20.11

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

References