CVE Explorer
CVE-2026-40875
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-80","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e5da1d6c15ccb0c565a04653dd1a91e530e4bb4865150b25bf95f597cc3f6237 · sha256:08e05fb9c194dff7… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e5da1d6c15ccb0c565a04653dd1a91e530e4bb4865150b25bf95f597cc3f6237 · sha256:08e05fb9c194dff7… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"mailcow-dockerized","vendor":"mailcow","versions":[{"status":"affected","version":"< 2026-03b"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e5da1d6c15ccb0c565a04653dd1a91e530e4bb4865150b25bf95f597cc3f6237 · sha256:08e05fb9c194dff7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7,"baseSeverity":"HIGH","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"PASSIVE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e5da1d6c15ccb0c565a04653dd1a91e530e4bb4865150b25bf95f597cc3f6237 · sha256:08e05fb9c194dff7… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-80","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e5da1d6c15ccb0c565a04653dd1a91e530e4bb4865150b25bf95f597cc3f6237 · sha256:08e05fb9c194dff7… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e5da1d6c15ccb0c565a04653dd1a91e530e4bb4865150b25bf95f597cc3f6237 · sha256:08e05fb9c194dff7… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jprq-w83q-q62h","tags":["x_refsource_CONFIRM"],"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jprq-w83q-q62h"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e5da1d6c15ccb0c565a04653dd1a91e530e4bb4865150b25bf95f597cc3f6237 · sha256:08e05fb9c194dff7… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jprq-w83q-q62h"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e5da1d6c15ccb0c565a04653dd1a91e530e4bb4865150b25bf95f597cc3f6237 · sha256:08e05fb9c194dff7… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.