CVE-2024-42009 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in Roundcube Webmail versions through 1.5.7 and 1.6.x through 1.6.7. This vulnerability allows remote attackers to execute malicious JavaScript in the context of the victim's browser by sending a crafted email. The issue arises from a desanitization flaw in the 'message_body()' function within 'program/actions/mail/show.php', which can be exploited to hijack email sessions, steal passwords, and send emails from the victim's account.
Users are advised to update to Roundcube Webmail versions 1.6.8 or 1.5.8, both of which include patches for this vulnerability. After updating, it is recommended to change the email password and clear the site data for Roundcube in the browser.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-42009 | CISA-ADP | US Government Resource |
| https://github.com/roundcube/roundcubemail/releases | [email protected] | Release Notes |
| https://github.com/roundcube/roundcubemail/releases/tag/1.5.8 | [email protected] | Release Notes |
| https://github.com/roundcube/roundcubemail/releases/tag/1.6.8 | [email protected] | Release Notes |
| https://roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8 | [email protected] | Vendor Advisory |
| https://sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vulnerability-in-roundcube-webmail/ | [email protected] | Technical DescriptionThird Party Advisory |
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.
| Vulnerability Name | Date Added | Due Date | Required Action |
|---|---|---|---|
| RoundCube Webmail Cross-Site Scripting Vulnerability | Jun 9, 2025 | Jun 30, 2025 | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| roundcube webmail | < 1.5.8 >= 1.6.0, < 1.6.8 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 4, 2025 | Modified Analysis | [email protected] |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Jun 11, 2025 | Modified Analysis | [email protected] |
| Jun 10, 2025 | CVE CISA KEV Update | Cybersecurity and Infrastructure Security Agency (CISA) U.S. Civilian Government |
| Mar 13, 2025 | CVE Modified | CISA-ADP |
| Sep 6, 2024 | Initial Analysis | [email protected] |
| Aug 5, 2024 | New CVE Received | [email protected] |