CVE-2025-54872 Details
Description
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.
A vulnerability exists in the Onion-Site-Template project, specifically in versions including commit 3196bd89, where Tor secrets can be unintentionally embedded into a Docker image. This occurs if the secrets from an existing onion domain are copied into the application. The vulnerability could lead to a compromise if the modified image is shared or if someone gains access to the user's device outside of a containerized environment.
The vulnerability has been fixed in commit bc9ba0fd. Users should update to this version and ensure that Tor secrets are not baked into the Docker image.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 6, 2025CISA-ADP
Assessed Aug 6, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Vessel9817/onion-site-template/commit/bc9ba0fd8cc7fbb3abc6759b351885a4501bce84 | [email protected] | Source CodeVendor |
| https://github.com/Vessel9817/onion-site-template/security/advisories/GHSA-mj8m-c8w9-rw55 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-798 | Use of Hard-coded Credentials | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Vessel9817 onion-site-template | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2025 | New CVE Received | [email protected] |
Volerion