{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.0.0"
              },
              {
                "last_affected": "1.4.17"
              }
            ]
          },
          "events": [
            {
              "introduced": "1ef1095632d369afbd5fd492efdf48a41a295e91"
            },
            {
              "last_affected": "a79211c43e42f866f6e929e21de8c0a4f949ce3e"
            }
          ],
          "repo": "https://github.com/halo-dev/halo",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In Halo, versions v1.0.0 to v1.4.17 (latest) are vulnerable to Stored Cross-Site Scripting (XSS) in the profile image. An authenticated attacker can upload a carefully crafted SVG file that will trigger arbitrary javascript to run on a victim’s browser.",
  "id": "CVE-2022-22124",
  "modified": "2026-03-13T21:57:03.571510383Z",
  "published": "2022-01-13T17:15:07.867Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/halo-dev/halo/blob/v1.4.17/src/main/java/run/halo/app/handler/file/FileHandler.java#L30"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/halo-dev/halo/issues/1575"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22124"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}