Description

mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the mailcow web interface passes the raw `$_SERVER['REQUEST_URI']` to Twig as a global template variable and renders it inside a JavaScript string literal in the `setLang()` helper of `base.twig`, relying on Twig's default HTML auto-escaping instead of the context-appropriate `js` escaping strategy. In addition, the `query_string()` Twig helper merges all current `$_GET` parameters into the language-switching links on the login page, so attacker-supplied parameters are reflected and preserved across navigation. Version 2026-03b fixes the vulnerability.

INFO

Published Date :

2026-04-21T19:21:56.837Z

Last Modified :

2026-04-22T13:39:34.206Z

Source :

GitHub_M
AFFECTED PRODUCTS

The following products are affected by CVE-2026-40878 vulnerability.

Vendors Products
Mailcow
  • Mailcow Dockerized
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2026-40878.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability