Copyparty 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-30974
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:50 UTC · Revision 1
Source evidence
Copyparty volflag `nohtml` did not block javascript in svg files
core-osv · Original sourcePublished 10 Mar 2026, 17:37 UTC
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.
osv:CVE-2026-30974
Complete source record
{
"id": "4bfdad7322beec11b8e5f997e84a405ba7b176fe45e780b24ea972ce9169fcf7",
"url": "https://osv.dev/vulnerability/CVE-2026-30974",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Copyparty volflag `nohtml` did not block javascript in svg files",
"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.",
"evidence": "osv:CVE-2026-30974",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-30974",
"aliases": [
"CVE-2026-30974",
"GHSA-m6hv-x64c-27mm",
"PYSEC-2026-2137"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/9001/copyparty",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "eca3ced16065caea36767b55354815ab12f1a28b"
},
{
"fixed": "1c9f894e149b6be3cc7de81efc93a4ce4766e0e5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:9001:copyparty:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.20.11"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1c9f894e149b6be3cc7de81efc93a4ce4766e0e5"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "eca3ced16065caea36767b55354815ab12f1a28b"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.20.11"
}
]
}
}
],
"versions": [
"v1.20.10",
"v1.20.9",
"v1.20.8",
"v1.20.7",
"v1.20.6",
"v1.20.5",
"v1.20.4",
"v1.20.3",
"v1.20.2",
"v1.20.1",
"v1.20.0",
"v1.19.23",
"v1.19.22",
"v1.19.21",
"v1.19.20",
"v1.19.19",
"v1.19.18",
"v1.19.17",
"v1.19.16",
"v1.19.15",
"v1.19.14",
"v1.19.13",
"v1.19.12",
"v1.19.11",
"v1.19.10",
"v1.19.9",
"v1.19.8",
"v1.19.7",
"v1.19.6",
"v1.19.5",
"v1.19.4",
"v1.19.3",
"v1.19.2",
"v1.19.1",
"v1.19.0",
"v1.18.10",
"v1.18.9",
"v1.18.8",
"v1.18.7",
"v1.18.6",
"v1.18.5",
"v1.18.4",
"v1.18.3",
"v1.18.2",
"v1.18.1",
"v1.18.0",
"v1.17.2",
"v1.17.1",
"v1.17.0",
"v1.16.21",
"v1.16.20",
"v1.16.19",
"v1.16.18",
"v1.16.17",
"v1.16.16",
"v1.16.15",
"v1.16.14",
"v1.16.13",
"v1.16.12",
"v1.16.11",
"v1.16.10",
"v1.16.9",
"v1.16.8",
"v1.16.7",
"v1.16.6",
"v1.16.5",
"v1.16.4",
"v1.16.3",
"v1.16.2",
"v1.16.1",
"v1.16.0",
"v1.15.10",
"v1.15.9",
"v1.15.8",
"v1.15.7",
"v1.15.6",
"v1.15.5",
"v1.15.4",
"v1.15.3",
"v1.15.2",
"v1.15.1",
"v1.15.0",
"v1.14.4",
"v1.14.3",
"v1.14.2",
"v1.14.1",
"v1.14.0",
"v1.13.8",
"v1.13.6",
"v1.13.5",
"v1.13.4",
"v1.13.3",
"v1.13.2",
"v1.13.1",
"v1.13.0",
"v1.12.2",
"v1.12.1",
"v1.12.0",
"v1.11.2",
"v1.11.1",
"v1.11.0",
"v1.9.30",
"v1.9.29",
"v1.9.28",
"v1.9.27",
"v1.9.26",
"v1.9.25",
"v1.9.24",
"v1.9.23",
"v1.9.22",
"v1.9.21",
"v1.9.20",
"v1.9.19",
"v1.9.18",
"v1.9.17",
"v1.9.16",
"v1.9.15",
"v1.9.14",
"v1.9.13",
"v1.9.12",
"v1.9.11",
"v1.9.10",
"v1.9.9",
"v1.9.8",
"v1.9.7",
"v1.9.6",
"v1.9.5",
"v1.9.4",
"v1.9.3",
"v1.9.2",
"v1.9.1",
"v1.9.0",
"v1.8.8",
"v1.8.7",
"v1.8.6",
"v1.8.4",
"v1.8.3",
"v1.8.2",
"v1.8.1",
"v1.8.0",
"v1.7.6",
"v1.7.5",
"v1.7.4",
"v1.7.3",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.15",
"v1.6.14",
"v1.6.13",
"v1.6.12",
"v1.6.11",
"v1.6.10",
"v1.6.9",
"v1.6.8",
"v1.6.7",
"v1.6.6",
"v1.6.5",
"v1.6.4",
"v1.6.3",
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.5.6",
"v1.5.5",
"v1.5.4",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.6",
"v1.4.5",
"v1.4.4",
"v1.4.3",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.16",
"v1.3.15",
"v1.3.14",
"v1.3.13",
"v1.3.12",
"v1.3.11",
"v1.3.10",
"v1.3.9",
"v1.3.8",
"v1.3.7",
"v1.3.6",
"v1.3.5",
"v1.3.4",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.11",
"v1.2.10",
"v1.2.9",
"v1.2.8",
"v1.2.7",
"v1.2.6",
"v1.2.5",
"v1.2.4",
"v1.2.3",
"v1.2.2",
"v1.2.1",
"v1.2.0",
"v1.1.12",
"v1.1.11",
"v1.1.10",
"v1.1.9",
"v1.1.8",
"v1.1.7",
"v1.1.6",
"v1.1.5",
"v1.1.4",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.14",
"v1.0.13",
"v1.0.12",
"v1.0.11",
"v1.0.10",
"v1.0.9",
"v1.0.8",
"v1.0.7",
"v1.0.6",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0",
"v0.13.14",
"v0.13.13",
"v0.13.12",
"v0.13.11",
"v0.13.10",
"v0.13.9",
"v0.13.8",
"v0.13.7",
"v0.13.6",
"v0.13.5",
"v0.13.4",
"v0.13.3",
"v0.13.2",
"v0.13.1",
"v0.13.0",
"v0.12.12",
"v0.12.11",
"v0.12.10",
"v0.12.9",
"v0.12.8",
"v0.12.7",
"v0.12.6",
"v0.12.5",
"v0.12.4",
"v0.12.3",
"v0.12.2",
"v0.12.1",
"v0.12.0",
"v0.11.47",
"v0.11.46",
"v0.11.45",
"v0.11.44",
"v0.11.43",
"v0.11.42",
"v0.11.41",
"v0.11.40",
"v0.11.39",
"v0.11.38",
"v0.11.37",
"v0.11.36",
"v0.11.35",
"v0.11.34",
"v0.11.33",
"v0.11.32",
"v0.11.31",
"v0.11.30",
"v0.11.29",
"v0.11.28",
"v0.11.27",
"v0.11.26",
"v0.11.25",
"v0.11.24",
"v0.11.23",
"v0.11.22",
"v0.11.21",
"v0.11.20",
"v0.11.19",
"v0.11.18",
"v0.11.17",
"v0.11.16",
"v0.11.15",
"v0.11.14",
"v0.11.13",
"v0.11.12",
"v0.11.11",
"v0.11.10",
"v0.11.9",
"v0.11.8",
"v0.11.7",
"v0.11.6",
"v0.11.4",
"v0.11.1",
"v0.11.0",
"v0.10.22",
"v0.10.21",
"v0.10.20",
"v0.10.19",
"v0.10.18",
"v0.10.17",
"v0.10.16",
"v0.10.15",
"v0.10.14",
"v0.10.13",
"v0.10.12",
"v0.10.11",
"v0.10.10",
"v0.10.9",
"v0.10.8",
"v0.10.7",
"v0.10.6",
"v0.10.5",
"v0.10.4",
"v0.10.3",
"v0.10.2",
"v0.10.1",
"v0.9.13",
"v0.9.12",
"v0.9.11",
"v0.9.10",
"v0.9.9",
"v0.9.8",
"v0.9.7",
"v0.9.6",
"v0.9.5",
"v0.9.4",
"v0.9.3",
"v0.9.1",
"v0.9.0",
"v0.8.3",
"v0.8.1",
"v0.7.7",
"v0.7.6",
"v0.7.5",
"v0.7.4",
"v0.7.3",
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.6.3",
"v0.6.2",
"v0.6.0",
"v0.5.7",
"v0.5.6",
"v0.5.5",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.1",
"v0.3.0",
"v0.2.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30974.json"
}
}
],
"modified": "2026-10-28T02:30:29.694026081Z",
"provider": "osv",
"references": [
"https://github.com/9001/copyparty/releases/tag/v1.20.11",
"https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30974.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-30974",
"https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30974.json"
}
},
"related_cves": [
{
"value": "CVE-2026-30974",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496548,
"published_at": "2026-03-10T17:37:26.214+00:00"
}