{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "bc9ba0fd8cc7fbb3abc6759b351885a4501bce84"
            }
          ],
          "repo": "https://github.com/vessel9817/onion-site-template",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mj8m-c8w9-rw55"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-798"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54872.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "3196bd896fed58306d42cc9f4c1e0760e8c829c9"
          },
          {
            "fixed": "bc9ba0fd8cc7fbb3abc6759b351885a4501bce84"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "onion-site-template is a complete, scalable tor hidden service self-hosting sample. Versions which include commit 3196bd89 contain a baked-in tor image if the secrets were copied from an existing onion domain. A website could be compromised if a user shared the baked-in image, or if someone were able to acquire access to the user's device outside of a containerized environment. This is fixed by commit bc9ba0fd.",
  "id": "CVE-2025-54872",
  "modified": "2026-07-15T01:49:17.696960973Z",
  "published": "2025-08-05T23:40:46.900Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54872.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Vessel9817/onion-site-template/security/advisories/GHSA-mj8m-c8w9-rw55"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-54872"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Vessel9817/onion-site-template/commit/bc9ba0fd8cc7fbb3abc6759b351885a4501bce84"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "onion-site-template tor Secrets Baked Into Image"
}