{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "eca3ced16065caea36767b55354815ab12f1a28b"
            }
          ],
          "repo": "https://github.com/9001/copyparty",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m6hv-x64c-27mm"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30974.json"
  },
  "details": "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.",
  "id": "CVE-2026-30974",
  "modified": "2026-04-01T23:10:04.460746858Z",
  "published": "2026-03-10T17:37:26.214Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/9001/copyparty/releases/tag/v1.20.11"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30974.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30974"
    },
    {
      "type": "FIX",
      "url": "https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Copyparty volflag `nohtml` did not block javascript in svg files"
}