CVE-2025-43931 Details
Description
flask-boilerplate through a170e7c allows account takeover via the password reset feature because SERVER_NAME is not configured and thus a reset depends on the Host HTTP header.
A host header injection vulnerability has been identified in Flask-Boilerplate, specifically in the repository 'MaxHalford/flask-boilerplate' at commit 'a170e7c'. The issue arises because the application does not properly configure the 'SERVER_NAME', allowing the password reset feature to rely on the untrusted 'Host' header. This vulnerability can be exploited to hijack the password reset process, leading to unauthorized account access.
Set the 'SERVER_NAME' in the Flask configuration, validate or sanitize the 'Host' header, and remove '_external=True' from the 'url_for' function if not explicitly needed.
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 Jul 7, 2025CISA-ADP
Assessed Jul 7, 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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-640 | Weak Password Recovery Mechanism for Forgotten Password | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| MaxHalford flask-boilerplate | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 8, 2025 | CVE Modified | CISA-ADP |
| Jul 7, 2025 | New CVE Received | [email protected] |
Volerion