PT-2026-34057 · Unknown · Mailcow-Dockerized
CVE-2026-40878
·
Published
2026-04-21
·
Updated
2026-04-21
CVSS v4.0
2.1
Low
| Vector | AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
mailcow: dockerized versions prior to 2026-03b
Description
The web interface passes the raw
$ SERVER['REQUEST URI'] to Twig as a global template variable, which is then rendered inside a JavaScript string literal in the setLang() helper of base.twig. The system relies on default HTML auto-escaping instead of the required js escaping strategy. Furthermore, the query string() Twig helper merges all current $ GET parameters into language-switching links on the login page, allowing attacker-supplied parameters to be reflected and preserved during navigation.Recommendations
Update to version 2026-03b.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mailcow-Dockerized