# CVE-2025-5412: Mist Community Edition Authentication Endpoint views.py login cross site scripting

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-01T23:31:05.448Z
- Modified: 2026-06-17T09:47:52.643Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Mist Community Edition: 4.7.0; 4.7.1
- mist mist: before 4.7.2

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Stolichnayer/mist-ce-open-redirect> (exploit, third-party-advisory)
- <https://vuldb.com/?id.310752> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.310752> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.583534> (third-party-advisory, vdb-entry)
- <https://github.com/mistio/mist.api/commit/db10ecb62ac832c1ed4924556d167efb9bc07fad> (patch)
- <https://github.com/mistio/mist-ce/releases/tag/v4.7.2> (patch, release-notes)

## Sources

- CVE List: [CVE-2025-5412](https://www.cve.org/CVERecord?id=CVE-2025-5412), CVE Terms of Use, modified 2025-06-02
- NVD: [CVE-2025-5412](https://nvd.nist.gov/vuln/detail/CVE-2025-5412), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5412 · Whole record: https://cve.day/CVE-2025-5412.json · Rebuilt by cve.day 2026-11-25T22:58:58.631Z
