Copyparty volflag `nohtml` did not block javascript in svg files
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| 9001 | copyparty | before 1.20.11 | 1.20.11 | Patch available | CNA |
| — | copyparty (PyPI) | before 1.20.11 | 1.20.11 | Patch available | GHSA-m6hv-x64c-27mm |
- copyparty Vendor9001 Affected before 1.20.11 Fixed in 1.20.11 Patch available CNA
- copyparty (PyPI) Vendor— Affected before 1.20.11 Fixed in 1.20.11 Patch available GHSA-m6hv-x64c-27mm
Remediation
- Fix · CNA copyparty (9001) Fixed in 1.20.11
- Fix · GHSA-m6hv-x64c-27mm copyparty (PyPI) Fixed in 1.20.11 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-30974
- 2026-10-03 Alias added: GHSA-m6hv-x64c-27mm
References
Advisory 2
More 9001 Copyparty vulnerabilities
- TI-2025-34551 Copyparty is vulnerable to Regex Denial of Service (ReDoS) attacks through "Recent Uploads" page CVSS 3.1HIGH 7.5
- TI-2023-19082 Path traversal in copyparty CVSS 3.1HIGH 7.5
- TI-2023-21990 Cross Site Scripting vulnerability in copyparty before 1.9.2 allows a local attacker to… CVSS 3.1HIGH 7.8
- TI-2023-19881 copyparty vulnerable to reflected cross-site scripting via k304 parameter CVSS 3.1MEDIUM 6.3
- TI-2025-34228 copyparty has a DOM-Based XSS vulnerability when displaying multimedia metadata CVSS 3.1MEDIUM 6.1
- TI-2025-20002 copyparty renders unsanitized filenames as HTML when user uploads empty files CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-30974 · CVE Program
- CVE-2026-30974 · NVD
- FIRST EPSS
- GHSA-m6hv-x64c-27mm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences