CVE-2026-30974
MEDIUM 5.4CVSS 3.1copyparty: volflag `nohtml` did not block javascript in svg files
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.
- Published
- 10 Mar 2026
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-m6hv-x64c-27mmPYSEC-2026-2137
- Sources
- NVDJSONOSV GHSA-m6hv-x64c-27mmJSONOSV PYSEC-2026-2137JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | 9001 | copypartycpe:2.3:a:9001:copyparty:*:*:*:*:*:*:*:* |
< 1.20.11 | 1.20.11 |
| OSV | PyPI | copyparty | < 1.20.11 | 1.20.11 |
References
- https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5 · Patch, WEB, FIX
- https://github.com/9001/copyparty/releases/tag/v1.20.11 · Product, Release Notes, WEB, ADVISORY
- https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-30974 · ADVISORY
- https://github.com/9001/copyparty · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Mar 2026)