Submit #790283: liangliangyy DjangoBlog Hardcoded Credentials Hardcoded Credentialsinfo

Titleliangliangyy DjangoBlog Hardcoded Credentials Hardcoded Credentials
DescriptionDjangoBlog through x.x.x.x uses a hardcoded fallback value for the Django SECRET_KEY in djangoblog/settings.py when the DJANGO_SECRET_KEY environment variable is not set. This key is used to sign session cookies, CSRF tokens, password reset tokens, and email confirmation signatures. An attacker who knows the key can forge sessions to impersonate any user including superadmins, bypass CSRF protection, and take over accounts.
Source⚠️ https://github.com/3em0/cve_repo/blob/main/DjangoBlog/Vuln-3-Hardcoded-Django-SECRET_KEY.md
User
 Dem0 (UID 82596)
Submission03/26/2026 17:05 (26 days ago)
Moderation04/19/2026 07:11 (24 days later)
StatusAccepted
VulDB entry358213 [liangliangyy DjangoBlog up to 2.1.0.0 Setting djangoblog/settings.py SECRET_KEY hard-coded credentials]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!