{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9b220ff7c8b4ba84bde1e2b12193435101afa987"
            }
          ],
          "repo": "https://github.com/emlog/emlog",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hj97-hp2c-6m4m"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61597.json"
  },
  "details": "Emlog is an open source website building system. In versions 2.5.21 and below, an HTML template injection allows stored cross‑site scripting (XSS) via the mail template settings. Once a malicious payload is saved, any subsequent visit to the settings page in an authenticated admin context will execute attacker‑controlled JavaScript, enabling session/token theft and full admin account takeover. This issue is fixed in version 2.5.22.",
  "id": "CVE-2025-61597",
  "modified": "2026-04-01T23:10:18.125192014Z",
  "published": "2025-10-03T06:16:14.013Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61597.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/emlog/emlog/security/advisories/GHSA-hj97-hp2c-6m4m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-61597"
    },
    {
      "type": "FIX",
      "url": "https://github.com/emlog/emlog/pull/179"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Emlog Pro is vulnerable to stored XSS attack through HTML template injection"
}