{"id":"CVE-2026-40875","aliases":["CVE-2026-40875"],"related":[],"kind":"vulnerability","state":"published","title":"mailcow: dockerized vulnerable to stored XSS in user login history real_rip","summary":"mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the user dashboard's \"Seen successful connections\" (login history) renders the client IP from login logs without HTML escaping. Because the server trusts the X-Real-IP header as the source IP for logging, an attacker can inject HTML/JS into this field. This Self-XSS can be exploited by a Login CSRF to force the victim into the attacker's account, and then read emails in a previous browser tab. Version 2026-03b fixes the vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the user dashboard's \"Seen successful connections\" (login history) renders the client IP from login logs without HTML escaping. Because the server trusts the X-Real-IP header as the source IP for logging, an attacker can inject HTML/JS into this field. This Self-XSS can be exploited by a Login CSRF to force the victim into the attacker's account, and then read emails in a previous browser tab. Version 2026-03b fixes the vulnerability.","source":"cvelist"},{"lang":"es","text":"mailcow: dockerized es una suite de groupware/correo electrónico de código abierto basada en docker. En versiones anteriores a 2026-03b, el panel de usuario ’Conexiones exitosas vistas’ (historial de inicio de sesión) muestra la IP del cliente de los registros de inicio de sesión sin escape HTML. Debido a que el servidor confía en el encabezado X-Real-IP como la IP de origen para el registro, un atacante puede inyectar HTML/JS en este campo. Este Self-XSS puede ser explotado mediante un CSRF de inicio de sesión para forzar a la víctima a la cuenta del atacante, y luego leer correos electrónicos en una pestaña de navegador anterior. La versión 2026-03b corrige la vulnerabilidad.","source":"nvd"}],"published":"2026-04-21T19:19:55.768Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N","score":7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N","score":7,"rating":"HIGH"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"version":"< 2026-03b","status":"affected"}],"vendor":"mailcow","product":"mailcow-dockerized","source":"cvelist"}],"references":[{"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jprq-w83q-q62h","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-04-21T19:53:02.686Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40875","url":"https://www.cve.org/CVERecord?id=CVE-2026-40875","licence":"CVE Terms of Use","modified":"2026-04-21T20:36:24.334Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40875","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40875","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:19.137Z","epss":{"score":0.00247,"percentile":0.1712,"date":"2026-12-01T12:00:22.000Z"}}