{
  "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 article tag. An authenticated admin attacker can inject arbitrary javascript code that will execute on a victim’s server.",
  "id": "CVE-2022-22125",
  "modified": "2026-03-13T21:50:43.790734269Z",
  "published": "2022-01-13T17:15:07.927Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/halo-dev/halo/issues/1557"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/halo-dev/halo/blob/v1.4.17/src/main/java/run/halo/app/service/impl/PostServiceImpl.java#L500"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22125"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}