XSS in Mailhog
CVE-2022-50908
Mailhog 1.0.1 contains a stored cross-site scripting vulnerability that allows attackers to inject malicious scripts through email attachments. Attackers can send crafted emails with XSS payloads to execute arbitrary API calls, including message deletion and browser manipulation.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (19.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 19th percentile — 19.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000
Affected products
- Mailhog — versions 1.0.1
Weakness classification (CWE)
References
- www.exploit-db.com/exploits/50971 (exploit)
- github.com/mailhog/MailHog (product)
- www.shodan.io/search (product)
- www.vulncheck.com/advisories/mailhog-stored-cross-site-scripting-xss (third-party-advisory)
Frequently asked questions
- What is CVE-2022-50908?
- CVE-2022-50908 is a high-severity vulnerability in Mailhog, classified under Cross-site Scripting. CVSS score: 7.2/10. Published 2026-01-13.
- How severe is CVE-2022-50908?
- High severity. CVSS v3 base score is 7.2 out of 10.