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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | copyparty | 1.20.11 | GHSA-m6hv-x64c-27mm |
| PyPI | copyparty | 1.20.11 | PYSEC-2026-2137 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
References
- https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm x_refsource_CONFIRM
- https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5 x_refsource_MISC
- https://github.com/9001/copyparty/releases/tag/v1.20.11 x_refsource_MISC