{"id":"CVE-2026-40875","published":"2026-04-21T19:19:55Z","modified":"2026-04-21T20:36:24Z","title":"mailcow: dockerized vulnerable to stored XSS in user login history real_rip","vendor":"mailcow","product":"mailcow-dockerized","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00302,"percentile":0.15341,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jprq-w83q-q62h","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":3.07},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"mailcow","affectedVersions":[{"vendor":"mailcow","product":"mailcow-dockerized","versions":["< 2026-03b"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-21T19:53:02.686540Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-24258","exploited":false,"provenance":"source"}}