← Vulnerability feed

Vulnerability record · CVE-2024-42009 · published 5 August 2024

CVE-2024-42009: Roundcube Webmail desanitization XSS in message_body()

Roundcube · Webmail

Roundcube Webmail through 1.5.7 and 1.6.x through 1.6.7 contains a cross-site scripting flaw caused by a desanitization issue in message_body() in program/actions/mail/show.php. A crafted email message can execute script in the victim's webmail session, and the vendor has released 1.5.8 and 1.6.8 to fix it.

9.3 CVSS 3.1 Critical CISA KEV since 9 Jun 2025 EPSS 83% · top 0.3% CWE-79 · Cross-site scripting
9.3CVSS 3.1 base score
83%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityCVSS 9.3, CISA KEV listing with a near-term due date, and EPSS above the 99th percentile indicate active exploitation and severe impact.

What it is

Roundcube Webmail through 1.5.7 and 1.6.x through 1.6.7 contains a cross-site scripting flaw caused by a desanitization issue in message_body() in program/actions/mail/show.php. A crafted email message can execute script in the victim's webmail session, and the vendor has released 1.5.8 and 1.6.8 to fix it.

Impact

An attacker can run script in the victim's authenticated webmail session, allowing theft and sending of the victim's emails. The CVSS vector rates high confidentiality and integrity impact with scope change.

Attack surface

Reached remotely over the network by delivering a crafted email that the victim opens in Roundcube; no authentication is needed by the attacker, but the victim must interact with the message (UI:R).

Exploitation

CVE-2024-42009 is listed in CISA KEV with a 2025-06-30 remediation due date, and EPSS gives a 30-day probability of 0.82882 (99.654th percentile), indicating active exploitation. No ransomware campaign use is documented.

What to do

  • Upgrade Roundcube to 1.5.8 or 1.6.8 (or later) per the vendor security update.
  • If immediate patching is not possible, apply vendor-recommended mitigations or discontinue use of the affected webmail per CISA BOD 22-01 guidance.
  • Restrict or monitor access to the Roundcube web interface until patched.
  • Review mail filtering to block or quarantine messages matching known exploit patterns where feasible.

Detection

  • Inspect web server and Roundcube logs for unusual requests to program/actions/mail/show.php or message body rendering endpoints.
  • Hunt for anomalous outbound mail or session activity from webmail accounts consistent with stolen-email exfiltration.
  • Monitor for unexpected script content or HTML in inbound email bodies reaching Roundcube.
  • Alert on Roundcube versions below 1.5.8 or 1.6.8 in asset inventories.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2024-42009 to the Known Exploited Vulnerabilities catalog on 9 June 2025 as "RoundCube Webmail Cross-Site Scripting Vulnerability". 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. Federal deadline 30 June 2025.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-42009 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-44026Roundcube Webmail SQL injection via search parametersRoundcube Webmail before 1.3.17 and 1.4.x before 1.4.12 is prone to SQL injection through the search or search_params input. The flaw is remotely rea…KEVEPSS 70%analysed9.8CVE-2020-12641Roundcube Webmail OS command injection via image conversion path settingsRoundcube Webmail before 1.4.4 passes the im_convert_path and im_identify_path configuration settings to a shell without sanitization in rcube_image.…KEVEPSS 84%analysed8.8CVE-2025-49113Roundcube Webmail PHP Object Deserialization RCE via _from ParameterRoundcube Webmail before 1.5.10 and 1.6.x before 1.6.11 fails to validate the _from parameter in program/actions/settings/upload.php, allowing PHP ob…KEVEPSS 99%analysed7.8CVE-2017-16651Roundcube Webmail file disclosure via attachment pluginRoundcube Webmail before 1.1.10, 1.2.x before 1.2.7, and 1.3.x before 1.3.3 allows an authenticated user to read arbitrary files on the host filesyst…KEVEPSS 46%analysed6.1CVE-2025-68461Roundcube Webmail XSS via SVG animate tagRoundcube Webmail before 1.5.12 and 1.6 before 1.6.12 is vulnerable to cross-site scripting through the animate tag in an SVG document. Because the f…KEVEPSS 27%analysed6.1CVE-2024-37383Roundcube Webmail XSS via SVG animate attributesRoundcube Webmail before 1.5.7 and 1.6.x before 1.6.7 is vulnerable to cross-site scripting through SVG animate attributes. Because the flaw sits in …KEVEPSS 73%analysed6.1CVE-2023-43770Roundcube Webmail XSS via crafted links in plain-text emailsRoundcube before 1.4.14, 1.5.x before 1.5.4, and 1.6.x before 1.6.3 is vulnerable to cross-site scripting because of how rcube_string_replacer.php ha…KEVEPSS 64%analysed6.1CVE-2020-35730Roundcube Webmail stored XSS via link reference handlingRoundcube Webmail mishandles JavaScript inside a link reference element in plain text email, allowing script injection through linkref_addindex in rc…KEVEPSS 33%analysed

Source: NIST National Vulnerability Database (record CVE-2024-42009), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.