CVE-2025-5412 Details
Description
A vulnerability classified as problematic has been found in Mist Community Edition up to 4.7.1. Affected is the function Login of the file src/mist/api/views.py of the component Authentication Endpoint. The manipulation of the argument return_to leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 4.7.2 is able to address this issue. The name of the patch is db10ecb62ac832c1ed4924556d167efb9bc07fad. It is recommended to upgrade the affected component.
A reflected cross-site scripting vulnerability has been identified in Mist Community Edition (CE) versions through 4.7.1. The issue arises in the authentication endpoint, specifically within the login function of src/mist/api/views.py. The vulnerability is caused by improper validation of the 'return_to' parameter, allowing attackers to inject malicious scripts that are executed in the context of the application. This flaw can be exploited remotely and requires user interaction, potentially leading to credential theft, session hijacking, or other client-side attacks, depending on the nature of the injected payload.
Users are advised to upgrade to Mist Community Edition version 4.7.2, which addresses this vulnerability.
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.
CISA-ADP
Assessed Jun 2, 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/mistio/mist.api/commit/db10ecb62ac832c1ed4924556d167efb9bc07fad | [email protected] | Patch |
| https://github.com/mistio/mist-ce/releases/tag/v4.7.2 | [email protected] | Release Notes |
| https://github.com/Stolichnayer/mist-ce-open-redirect | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.310752 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.310752 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.583534 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mist mist | < 4.7.2 |
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 |
| Nov 25, 2025 | Initial Analysis | [email protected] |
| Jun 2, 2025 | New CVE Received | [email protected] |