{"affected":[{"product":"misp-modules","source":"CNA: CIRCL","vendor":"misp","versions":[{"lessThanOrEqual":"3.1.4","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-128637","cwes":["CWE-601"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.1,"severity":"medium","source":"CNA: CIRCL","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","version":"4.0"}],"modifiedAt":1794554118086,"publishedAt":1794554118086,"references":[{"source":"CNA: CIRCL","tags":["patch"],"url":"https://github.com/MISP/misp-modules/commit/d115f00414e761b0b70c8c8671edac681de74a4c"}],"remediation":[{"kind":"fix","source":"CNA: CIRCL","text":"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."},{"kind":"fix","source":"CNA: CIRCL","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/MISP/misp-modules/commit/d115f00414e761b0b70c8c8671edac681de74a4c"}],"revision":"877ed4f0389f162e35f08cdcd274be7ea0939d65de14d85e403ff6126330fd1d","sources":[{"modifiedAt":1794554118086,"name":"CNA: CIRCL","retrievedAt":1794557314146,"url":"https://www.cve.org/CVERecord?id=CVE-2026-128637"}],"ssvc":{"assessedAt":1794553851000,"automatable":"yes","exploitation":"none","source":"CNA: CIRCL","technicalImpact":"partial"},"status":"published","title":"Open Redirect in MISP Modules Website Login via Unvalidated next Parameter","updatedAt":1794557314146}