CVEs / CVE-2024-42009
CVE-2024-42009: RoundCube Webmail Cross-Site Scripting Vulnerability
- Known exploited in the CISA KEV catalog since 9 Jun 2025
- critical 9.3 CVSS 3.1 (NVD)
- EPSS 82.8% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2024-42009
Summary
RoundCube Webmail contains a cross-site scripting vulnerability. This vulnerability could allow a remote attacker to steal and send emails of a victim via a crafted e-mail message that abuses a Desanitization issue in message_body() in program/actions/mail/show.php.
Description
A Cross-Site Scripting vulnerability 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 crafted e-mail message that abuses a Desanitization issue in message_body() in program/actions/mail/show.php.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | n/a | — |
Exploitation
| In CISA KEV since | 9 Jun 2025 |
|---|---|
| Due date for US federal agencies | 30 Jun 2025 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 3.1 | 9.3 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NScored by NVD |
|---|---|
| Weakness | CWE-79 |
References
- CVE-2024-42009 on NVD
- CVE-2024-42009 in the CISA KEV catalog
- https://roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8 (cited by CISA)
- CVE-2024-42009 on OSV
- https://github.com/roundcube/roundcubemail/releases Release Notes
- https://github.com/roundcube/roundcubemail/releases/tag/1.5.8 Release Notes
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.8 Release Notes
- https://roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8 Vendor Advisory
- https://sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vulnerability-in-roundcube-webmail/ Technical Description, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-42009 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.