Skip to content
Heist/ feed
Back to feed
High

onion-site-template tor Secrets Baked Into Image

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-54872
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 01:04 UTC · Revision 1

Source evidence

onion-site-template tor Secrets Baked Into Image

core-osv · Original source

Published 5 Aug 2025, 23:40 UTC

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.

osv:CVE-2025-54872
Complete source record
{
  "id": "827717303291fc7a0f43c3b1f75d1d65bbd2cfa71e981dd383ac4f2fb0ad57fa",
  "url": "https://osv.dev/vulnerability/CVE-2025-54872",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "onion-site-template tor Secrets Baked Into Image",
    "summary": "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.",
    "evidence": "osv:CVE-2025-54872",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-54872",
      "aliases": [
        "CVE-2025-54872",
        "GHSA-mj8m-c8w9-rw55"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/vessel9817/onion-site-template",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3196bd896fed58306d42cc9f4c1e0760e8c829c9"
                },
                {
                  "fixed": "bc9ba0fd8cc7fbb3abc6759b351885a4501bce84"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3196bd896fed58306d42cc9f4c1e0760e8c829c9"
                      },
                      {
                        "fixed": "bc9ba0fd8cc7fbb3abc6759b351885a4501bce84"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bc9ba0fd8cc7fbb3abc6759b351885a4501bce84"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54872.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.759313729Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54872.json",
        "https://github.com/Vessel9817/onion-site-template/security/advisories/GHSA-mj8m-c8w9-rw55",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-54872",
        "https://github.com/Vessel9817/onion-site-template/commit/bc9ba0fd8cc7fbb3abc6759b351885a4501bce84"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-798"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54872.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-54872",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513694,
  "published_at": "2025-08-05T23:40:46.9+00:00"
}