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.

Project Subscriptions

No data.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-m6hv-x64c-27mm copyparty: volflag `nohtml` did not block javascript in svg files
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 10 Mar 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title Copyparty volflag `nohtml` did not block javascript in svg files
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-10T17:37:26.214Z

Reserved: 2026-03-07T17:53:48.816Z

Link: CVE-2026-30974

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-10T18:18:56.220

Modified: 2026-03-10T18:18:56.220

Link: CVE-2026-30974

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses