CVE-2026-40872

Severity CVSS v4.0:
CRITICAL
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
21/04/2026
Last modified:
22/04/2026

Description

mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the admin dashboard's Autodiscover logs render the EMailAddress value (logged as the "user" field) without HTML escaping. By submitting an unauthenticated Autodiscover request with a crafted EMailAddress containing HTML/JS, the payload is stored in Redis and executed when an admin views the Autodiscover logs. Version 2026-03b fixes the vulnerability.