{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.0.0"
                  },
                  {
                    "fixed": "5.6.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "1d40fb5eda3727dd4b03fd3359f4a565452bec66"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "5.6.4",
                "range": [
                  {
                    "fixed": "40593aeb8c9a5894bad2440403536d0c7a38f487"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "2ff182ba39ddea19fa1615bd3733f734b5e53842"
            },
            {
              "fixed": "40593aeb8c9a5894bad2440403536d0c7a38f487"
            },
            {
              "fixed": "1d40fb5eda3727dd4b03fd3359f4a565452bec66"
            }
          ],
          "repo": "https://github.com/getkirby/kirby",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g6q3-mf7c-27jh"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-367"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134765.json"
  },
  "details": "Kirby 5.0.0 before 5.6.4 contains a race condition in Kirby\\Api\\Upload::processChunk() that allows authenticated users with upload permission to bypass SVG sanitization. Attackers can race concurrent chunked uploads sharing a filename to swap a benign SVG with a script-bearing SVG, executing stored cross-site scripting in the site origin.",
  "id": "CVE-2026-134765",
  "modified": "2026-11-22T23:45:19.534510914Z",
  "published": "2026-11-22T21:22:50.182Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134765.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/getkirby/kirby"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/getkirby/kirby/blob/5.6.3/src/Api/Upload.php#L251-L310"
    },
    {
      "type": "FIX",
      "url": "https://github.com/getkirby/kirby/commit/1d40fb5eda3727dd4b03fd3359f4a565452bec66"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/getkirby/kirby/releases/tag/5.6.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/getkirby/kirby/security/advisories/GHSA-g6q3-mf7c-27jh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134765"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/kirby-5.0.0-before-5.6.4-xss-via-chunked-upload-race-condition"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Kirby 5.0.0 before 5.6.4 XSS via Chunked Upload Race Condition"
}