{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.9.4"
              },
              {
                "introduced": "5.0.0"
              },
              {
                "fixed": "5.4.4"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "2ff182ba39ddea19fa1615bd3733f734b5e53842"
            },
            {
              "fixed": "274dca6df93de6eda649f27f5367ddbc8e0f1fe1"
            },
            {
              "fixed": "3f96d3b9ccda22f0d2f901b96376b5d08556ad75"
            },
            {
              "fixed": "0f0437b5128c910103cbc78fc34d94b2a3faef4c"
            },
            {
              "fixed": "7ad76cf9c7387462828e6ebfc8404e31b37829e9"
            },
            {
              "fixed": "9ec1873864441dbc06479ef7823da348ec7f2700"
            },
            {
              "fixed": "bb2562e16c754493a403b8df84c9883108871e4c"
            }
          ],
          "repo": "https://github.com/getkirby/kirby",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wr9h-4r83-f4v6"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79",
      "CWE-87"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54002.json"
  },
  "details": "Kirby is an open-source content management system. Prior to 4.9.4 and 5.4.4, Kirby sites and plugins that use the writer or list fields or call Dom::sanitize(), Sane::sanitize(), Sane::Html::sanitize(), Sane::Svg::sanitize(), Sane::Xml::sanitize(), Sane::sanitizeFile(), or file sanitizeContents() with untrusted input allow malicious markup injected as children of an unknown HTML or XML tag to pass through Dom::sanitize() without being correctly sanitized, causing stored cross-site scripting. This issue is fixed in versions 4.9.4 and 5.4.4.",
  "id": "CVE-2026-54002",
  "modified": "2026-07-15T01:49:19.685370539Z",
  "published": "2026-07-09T18:34:29.041Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/getkirby/kirby/releases/tag/4.9.4"
    },
    {
      "type": "WEB",
      "url": "https://github.com/getkirby/kirby/releases/tag/5.4.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54002.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/getkirby/kirby/security/advisories/GHSA-wr9h-4r83-f4v6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54002"
    },
    {
      "type": "FIX",
      "url": "https://github.com/getkirby/kirby/commit/0f0437b5128c910103cbc78fc34d94b2a3faef4c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/getkirby/kirby/commit/7ad76cf9c7387462828e6ebfc8404e31b37829e9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/getkirby/kirby/commit/9ec1873864441dbc06479ef7823da348ec7f2700"
    },
    {
      "type": "FIX",
      "url": "https://github.com/getkirby/kirby/commit/bb2562e16c754493a403b8df84c9883108871e4c"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Kirby: Cross-site scripting (XSS) from incomplete HTML/XML sanitization in `Dom::sanitize()`"
}