{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40878","published":"2026-04-21T20:17:01.403000Z","last_modified":"2026-10-26T22:10:00.163000Z","status":"Deferred","cvss":{"version":"4.0","score":2.1,"severity":"LOW","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["mailcow"],"products":["mailcow/mailcow-dockerized"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"low","priority_score":28,"links":{"html_es":"/es/cve/CVE-2026-40878/","html_en":"/en/cve/CVE-2026-40878/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40878","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40878"},"untrusted":{"vendor_name":"mailcow","product_name":"mailcow-dockerized","desc_en":"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.","affected":[{"untrusted_vendor":"mailcow","untrusted_product":"mailcow-dockerized","versions":[]}],"references":[{"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-xv9r-j862-5hqf","tags":[]}]}}