CVE-2026-40878
mailcow: dockerized is an open source groupware/email suite based on docker.
Published Apr 21, 2026 · updated Jun 17, 2026
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 to Twig as a global template variable and renders it inside a JavaScript string literal in the helper of , relying on Twig's default HTML auto-escaping instead of the context-appropriate escaping strategy. In addition, the Twig helper merges all current 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.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Apr 21, 2026 · NIST NVD
Detected
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 to Twig as a global template variable and renders it inside a JavaScript string literal in the helper of , relying on Twig's default HTML auto-escaping instead of the context-appropriate escaping strategy. In addition, the Twig helper merges all curre
Jun 17, 2026 · NIST NVD
Updated
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 to Twig as a global template variable and renders it inside a JavaScript string literal in the helper of , relying on Twig's default HTML auto-escaping instead of the context-appropriate escaping strategy. In addition, the Twig helper merges all curre
Sources
- CVE.orgVulnerability recordCVE-2026-40878
Official CVE identifier
cve.org - NIST NVDVulnerability recordCVE-2026-40878
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 to Twig as a global template variable and renders it inside a JavaScript string literal in the `setLang()
nvd.nist.gov