Critical
Security advisory
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a malicious e-mail attachment served with a dangerous Content-Type header.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-42008
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:32 UTC · Revision 1
Source evidence
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a malicious e-mail attachment served with a dangerous Content-Type header.
osv:CVE-2024-42008
Complete source record
{
"id": "ad40d50f14f54c5a3e36a3b91d0a60c57981d10b90476c610f66ca48d9b1eb5f",
"url": "https://osv.dev/vulnerability/CVE-2024-42008",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-42008",
"summary": "A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a malicious e-mail attachment served with a dangerous Content-Type header.",
"evidence": "osv:CVE-2024-42008",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-42008",
"aliases": [
"CVE-2024-42008"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/roundcube/roundcubemail",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "ed988390312e0ad16843dbd1eb7a1e82241545d2"
},
{
"introduced": "993b888afe29c383bf45c84f17090f4db96367ba"
},
{
"fixed": "44ed0d6fb0cefe30c9c7892c61c34a21a7213c56"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.5.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.0"
},
{
"fixed": "1.6.8"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "ed988390312e0ad16843dbd1eb7a1e82241545d2"
}
],
"source": "REFERENCES_TAG",
"original_tag": "1.5.8"
},
{
"range": [
{
"fixed": "44ed0d6fb0cefe30c9c7892c61c34a21a7213c56"
}
],
"source": "REFERENCES_TAG",
"original_tag": "1.6.8"
}
]
}
}
],
"versions": [
"1.5.7",
"1.6.7",
"1.6.6",
"1.5.6",
"1.6.5",
"1.5.5",
"1.6.4",
"1.6.3",
"1.5.4",
"1.6.2",
"1.6.1",
"1.5.3",
"1.6.0",
"1.5.2",
"1.5.1",
"1.5.0",
"1.5-rc",
"1.5-beta",
"1.4-rc2",
"1.4-rc1",
"1.4-beta",
"1.3-beta",
"1.2-rc",
"1.2-beta",
"1.1.0",
"1.1-rc",
"1.1-beta",
"v0.1-beta2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42008.json"
}
}
],
"modified": "2026-10-28T02:30:22.240528367Z",
"provider": "osv",
"references": [
"https://github.com/roundcube/roundcubemail/releases/tag/1.5.8",
"https://github.com/roundcube/roundcubemail/releases/tag/1.6.8",
"https://roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42008.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-42008",
"https://github.com/roundcube/roundcubemail/releases",
"https://sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vulnerability-in-roundcube-webmail/"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42008.json"
}
},
"related_cves": [
{
"value": "CVE-2024-42008",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488512,
"published_at": "2024-08-05T00:00:00+00:00"
}