{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.20.18LTS"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "e2fd9ba60ba3640fb093430025f17fd12452505b"
            }
          ],
          "repo": "https://github.com/halo-dev/halo",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51857.json"
  },
  "details": "The reconcile method in the AttachmentReconciler class of the Halo system v.2.20.18LTS and before is vulnerable to XSS attacks.",
  "id": "CVE-2025-51857",
  "modified": "2026-10-28T02:30:26.066945909Z",
  "published": "2025-08-05T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://gist.github.com/this1slwl/d714514635119159607c14faebbbcf20"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51857.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-51857"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/halo-dev/halo"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}