CVE-2026-135248 PUBLISHED

MISP Password Reset Link Host Header Injection Enables Phishing via Untrusted Base URL

Assigner: CIRCL
Reserved: 23.11.2026 Published: 23.11.2026 Updated: 23.11.2026

MISP contains a vulnerability in its password reset (forgot password) functionality where the base URL used to construct the reset link sent by email could be derived from the HTTP request's Host header rather than from an explicitly configured value.

An unauthenticated attacker can send a crafted request with a malicious Host header. If the application's base URL was not explicitly configured (MISP.baseurl or MISP.external_baseurl), the bootstrap would derive it from the request, and the resulting password reset email would contain a link pointing to the attacker-controlled domain. When the victim clicks the link, they are directed to the attacker's site, enabling credential phishing or token theft.

Preconditions: - The password reset feature (allow_password_forgotten) is enabled - MISP.baseurl and MISP.external_baseurl are not explicitly set to trusted values - The victim initiates or is targeted for a password reset

Impact: - Phishing: victim is redirected to an attacker-controlled URL instead of the legitimate MISP instance - Potential credential compromise if the victim enters credentials on the attacker's site - No direct compromise of the MISP server itself

Affected: MISP versions prior to 2.5.52

Metrics

CVSS 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
CVSS Score: 5.1

Product Status

Vendor MISP
Product MISP
Versions
  • affected from 0 to 2.5.52 (excl.)

Solutions

The fix ensures that password reset links are constructed exclusively from explicitly configured base URLs (MISP.baseurl or MISP.external_baseurl). A new internal flag (BaseurlFromRequest) marks base URLs derived from the HTTP request as untrusted for outbound mail. If no trusted base URL is available, the reset email is not sent and an error is logged. An empty external_baseurl now correctly falls back to the configured baseurl rather than the request-derived value.

Credits

  • ENISA reporter
  • iglocska remediation developer
  • Claude Opus 5.5 remediation developer

References

Problem Types

  • CWE-601 Open Redirect CWE
  • CWE-20 Improper Input Validation CWE

Impacts

  • CAPEC-60 Leverage Executable Content