Description
The MISP Modules website component contains an open redirect vulnerability in its login endpoint. The /login route accepted a user-supplied next query parameter and passed it directly to Flask's redirect() function without validating the destination. An attacker could craft a URL such as https://victim-host/login?next=https://attacker.example/phish and deliver it to a user (e.g., via email or a lookalike page). After the user successfully authenticated, the application issued a 302 redirect to the attacker-controlled external URL. This enables phishing attacks where a user, believing they are still on the legitimate MISP Modules site, may enter additional credentials or sensitive information on the attacker's page. It can also be used to obscure the true destination of a link, bypassing user trust in the legitimate domain. The vulnerability requires the victim to interact with the crafted URL and complete a login, but no prior authentication or special configuration is needed on the attacker's side. The affected component is the website sub-project of misp-modules, specifically the account blueprint in website/app/account/account.py. No version boundaries are specified in the patch metadata.
Published: 2026-11-13
Score: 5.1 Medium
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

The fix introduces a _safe_next_url() validation function that restricts post-login redirect destinations to local paths or same-host HTTP(S) URLs. Any target that is empty, contains backslashes, control characters, leading/trailing whitespace, an unrecognized scheme, a mismatched host, or a protocol-relative form is rejected and the user is redirected to the home page (/). Accepted same-host URLs are normalized to local paths (scheme and authority stripped) while preserving query strings and fragments, ensuring the Location header always contains a relative path. This eliminates the ability to redirect users to arbitrary external destinations after authentication.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 13 Nov 2026 07:30:00 +0000

Type Values Removed Values Added
Description The MISP Modules website component contains an open redirect vulnerability in its login endpoint. The /login route accepted a user-supplied next query parameter and passed it directly to Flask's redirect() function without validating the destination. An attacker could craft a URL such as https://victim-host/login?next=https://attacker.example/phish and deliver it to a user (e.g., via email or a lookalike page). After the user successfully authenticated, the application issued a 302 redirect to the attacker-controlled external URL. This enables phishing attacks where a user, believing they are still on the legitimate MISP Modules site, may enter additional credentials or sensitive information on the attacker's page. It can also be used to obscure the true destination of a link, bypassing user trust in the legitimate domain. The vulnerability requires the victim to interact with the crafted URL and complete a login, but no prior authentication or special configuration is needed on the attacker's side. The affected component is the website sub-project of misp-modules, specifically the account blueprint in website/app/account/account.py. No version boundaries are specified in the patch metadata.
Title Open Redirect in MISP Modules Website Login via Unvalidated next Parameter
First Time appeared Misp
Misp misp-modules
Weaknesses CWE-601
CPEs cpe:2.3:a:misp:misp-modules:*:*:*:*:*:*:*:*
Vendors & Products Misp
Misp misp-modules
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N'}


Subscriptions

Misp Misp-modules
cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-11-13T07:15:18.086Z

Reserved: 2026-11-13T07:15:13.649Z

Link: CVE-2026-128637

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-13T08:17:17.150

Modified: 2026-11-13T08:17:17.280

Link: CVE-2026-128637

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses