{"id":"CVE-2026-30974","state":"PUBLISHED","title":"Copyparty volflag `nohtml` did not block javascript in svg files","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.","publishedAt":"2026-03-10T17:37:26.214Z","updatedAt":"2026-03-11T14:45:33.773Z","severity":{"score":4.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["9001 copyparty"],"affected":[{"vendor":"9001","product":"copyparty","versions":[{"version":"< 1.20.11","status":"affected"}]}],"references":["https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm","https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5","https://github.com/9001/copyparty/releases/tag/v1.20.11"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/30xxx/CVE-2026-30974.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-30974","state":"PUBLISHED","datePublished":"2026-03-10T17:37:26.214Z","dateUpdated":"2026-03-11T14:45:33.773Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-07T17:53:48.816Z"},"containers":{"cna":{"title":"Copyparty volflag `nohtml` did not block javascript in svg files","descriptions":[{"lang":"en","value":"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":[{"vendor":"9001","product":"copyparty","versions":[{"version":"< 1.20.11","status":"affected"}]}],"references":[{"url":"https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm","name":"https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5","name":"https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5","tags":["x_refsource_MISC"]},{"url":"https://github.com/9001/copyparty/releases/tag/v1.20.11","name":"https://github.com/9001/copyparty/releases/tag/v1.20.11","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-10T17:37:26.214Z"},"source":{"advisory":"GHSA-m6hv-x64c-27mm","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-11T14:45:22.362232Z","id":"CVE-2026-30974","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-11T14:45:33.773Z"}}]}}}