mailcow-dockerized Login Page has Reflected Parameter Injection / Wrong-Context XSS Escaping
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA mailcow-dockerized (mailcow) Fixed in 2026-03b
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40878
References
More mailcow vulnerabilities
- TI-2026-29528 mailcow: dockerized vulnerable to stored XSS in autodiscover logs email address field CVSS 4.0CRITICAL 9.3
- TI-2026-29529 mailcow: dockerized vulnerable to stored XSS in Quarantine attachment filenames CVSS 4.0HIGH 8.9
- TI-2022-13182 OS Command Injection in mailcow CVSS 3.1HIGH 8.8
- TI-2022-18634 mailcow-dockerized critical information misrepresentation can lead to phishing attacks through Swagger UI CVSS 3.1HIGH 8.2
- TI-2026-06557 mailcow-dockerized 2026-03b - Stored XSS in Queue Manager via unescaped CVSS 4.0HIGH 7.4
- TI-2026-29527 mailcow: dockerized vulnerable to Second Order SQL Injection in quarantine category via API CVSS 3.1HIGH 7.2
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences