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)

EPSS: 0.002 (16.1th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.