CRITICAL🇵🇱 Wersja polska

CVE-2026-26747

CVSS 9.1v3.1pub. 2026-02-20upd. 2026-02-26

A Host Header Poisoning vulnerability exists in Monica 4.1.2 due to improper handling of the HTTP Host header in app/Providers/AppServiceProvider.php, combined with the default misconfiguration where the "app.force_url" is not set and default is "false". The application generates absolute URLs (such as those used in password reset emails) using the user-supplied Host header. This allows remote attackers to poison the password reset link sent to a victim,

🤖 AI Analysis
How it works

The Monica application generates absolute URLs (e.g., for password reset) based on the value of the HTTP Host header provided by the user, instead of using a hardcoded base address. The default configuration leaves the 'app.force_url' parameter unset (value 'false'), so the protection mechanism is not activated. An attacker can send a request to the application with a manipulated Host header pointing to a server controlled by them, which results in generating a password reset link that directs the victim to a malicious domain. The code responsible for this behavior is located in the app/Providers/AppServiceProvider.php file.

Impact

An attacker can intercept the victim's password reset token when they click on a crafted link, which consequently leads to account takeover. The vulnerability enables remote attacks without authentication and without interaction from the attacker beyond generating an appropriate request.

Mitigation & patch

Patches available from the vendor should be applied in accordance with the references. As a workaround, the 'app.force_url' parameter should be explicitly configured in the application's configuration file, indicating the correct base address, which prevents the use of the Host header to generate URLs.

Who is affected

Monica version 4.1.2 with default configuration, where the 'app.force_url' parameter is not set (default value 'false').

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Monicahq Monica

    APP
    Monicahq
    4.1.2
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2024-54996HIGH8.8same product

MonicaHQ v4.1.2 was discovered to contain multiple authenticated Client-Side Injection vulnerabilities via the...

CVE-2023-1031HIGH8.8same product

MonicaHQ version 4.0.0 allows an authenticated remote attacker to execute malicious code in the application vi...

CVE-2023-1094HIGH8.8same product

MonicaHQ version 4.0.0 allows an authenticated remote attacker to execute malicious code in the application vi...

CVE-2024-54951MEDIUM5.4same product

Monica 4.1.2 is vulnerable to Cross Site Scripting (XSS). A malicious user can create a malformed contact and ...

CVE-2024-54999MEDIUM6.5same product

MonicaHQ v4.1.2 was discovered to contain a Client-Side Injection vulnerability via the last_name parameter th...