{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e8ca93396fa6864b8962261064dc5a0601ab3f22"
            }
          ],
          "repo": "https://github.com/halo-dev/halo",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-99mc-ch53-pqh9"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56156.json"
  },
  "details": "Halo is an open source website building tool. Prior to version 2.20.13, a vulnerability in Halo allows attackers to bypass file type validation controls. This bypass enables the upload of malicious files including executables and HTML files, which can lead to stored cross-site scripting attacks and potential remote code execution under certain circumstances. This issue has been patched in version 2.20.13.",
  "id": "CVE-2024-56156",
  "modified": "2026-04-01T23:08:17.424303015Z",
  "published": "2025-04-25T15:08:00.942Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56156.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/halo-dev/halo/security/advisories/GHSA-99mc-ch53-pqh9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-56156"
    },
    {
      "type": "FIX",
      "url": "https://github.com/halo-dev/halo/commit/24f8d7b57127e2607ec05adb7c912b3decddeb99"
    },
    {
      "type": "FIX",
      "url": "https://github.com/halo-dev/halo/pull/7149"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Halo Vulnerable to Stored XSS and RCE via File Upload Bypass"
}