CWE-547: Use of Hard-coded, Security-relevant Constants, published in 2025
Filter
The product uses hard-coded constants instead of symbolic names for security-critical values, which increases the likelihood of mistakes during code maintenance or security policy change.
What the weakness is: CWE-547 at MITRE. OWASP Top 10: A02:2025 Security Misconfiguration. All weaknesses
Ask an AI about CWE-547
Show the prompt
Explain CWE-547: Use of Hard-coded, Security-relevant Constants and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/547.html and https://cve.bz/cve/cwe/547?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 9.3CVE-2025-49151microsens nmp web+EPSS 0.6%
The affected products could allow an unauthenticated attacker to generate forged JSON Web Tokens (JWT) to bypass authentication.
- 2.5CVE-2025-23253nvidia nvidia appEPSS 0.2%
NVIDIA NvContainer service for Windows contains a vulnerability in its usage of OpenSSL, where an attacker could exploit a hard-coded constant issue by copying a malicious DLL in a hard-coded path. A successful exploit of this vulnerabilit…
- 9.8CVE-2025-30206donknap dpanelEPSS 0.9%
Dpanel is a Docker visualization panel system which provides complete Docker management functions. The Dpanel service contains a hardcoded JWT secret in its default configuration, allowing attackers to generate valid JWT tokens and comprom…
- 8.7CVE-2025-2081optigo networksEPSS 0.4%
Optigo Networks Visual BACnet Capture Tool and Optigo Visual Networks Capture Tool version 3.1.2rc11 are vulnerable to an attacker impersonating the web application service and mislead victim clients.
- 8.7CVE-2025-2079optigo networksEPSS 0.4%
Optigo Networks Visual BACnet Capture Tool and Optigo Visual Networks Capture Tool version 3.1.2rc11 contain a hard coded secret key. This could allow an attacker to generate valid JWT (JSON Web Token) sessions.