XSS in Roundcube Webmail
CVE-2024-42008
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.3 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.340, 98.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- victoni/Roundcube-CVE-2024-42008-and-CVE-2024-42010-POC (2 stars, last pushed 2025-04-12): POC for Roundcube vulnerabilities CVE-2024-42008 and CVE-2024-42010
- rpgsec/Roundcube-CVE-2024-42008-POC (last pushed 2025-07-09)
- Foxer131/CVE-2024-42008-9-exploit (last pushed 2025-05-26): The scripts in this repository are made to abuse CVE-2024-42008 and CVE-2024-42009. Both of these CVEs are vulnerabilities found on Roundcube 1.6.7
Also mentioned in 3 other repositories (ARPSyndicate/cve-scores, nomi-sec/PoC-in-GitHub, zulloper/cve-poc). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/roundcube/roundcubemail/releases (Release Notes)
- sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vu… (Technical Description)
- github.com/roundcube/roundcubemail/releases/tag/1.5.8 (Release Notes)
- github.com/roundcube/roundcubemail/releases/tag/1.6.8 (Release Notes)
- roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8 (Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.