Medium
Mailhog 1.0.1 - Stored Cross-Site Scripting (XSS)
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-50908
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 02:11 UTC · Revision 1
Source evidence
Mailhog 1.0.1 - Stored Cross-Site Scripting (XSS)
core-osv · Original sourcePublished 13 Jan 2026, 22:51 UTC
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.
osv:CVE-2022-50908
Complete source record
{
"id": "8f090bb09bb871aa6f2735bb22883c760c103d584ae1ba980507e7124b664ae4",
"url": "https://osv.dev/vulnerability/CVE-2022-50908",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Mailhog 1.0.1 - Stored Cross-Site Scripting (XSS)",
"summary": "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.",
"evidence": "osv:CVE-2022-50908",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-50908",
"aliases": [
"CVE-2022-50908"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mailhog/mailhog",
"type": "GIT",
"events": [
{
"introduced": "0441dd494b03c9255a9b8e90e3458ebb115eacff"
},
{
"last_affected": "0441dd494b03c9255a9b8e90e3458ebb115eacff"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.0.1"
},
{
"last_affected": "1.0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
}
],
"versions": [
"1.0.1",
"v1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50908.json"
}
}
],
"modified": "2026-10-28T02:30:41.628522899Z",
"provider": "osv",
"references": [
"https://www.shodan.io/search?query=mailhog",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50908.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-50908",
"https://www.vulncheck.com/advisories/mailhog-stored-cross-site-scripting-xss",
"https://github.com/mailhog/MailHog",
"https://www.exploit-db.com/exploits/50971"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50908.json"
}
},
"related_cves": [
{
"value": "CVE-2022-50908",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509411,
"published_at": "2026-01-13T22:51:49.736+00:00"
}