LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2024-42009: RoundCube Webmail Cross-Site Scripting Vulnerability

RBRecent Breaches Vulnerability Intelligence·Jun 9, 2025
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Jun 30, 2025
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2024-42009 to its Known Exploited Vulnerabilities catalog on Jun 9, 2025, with a federal patch deadline of Jun 30, 2025 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

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…

CVE-2024-42009 is a cross-site scripting vulnerability in Roundcube Webmail. A remote attacker can send a crafted email that, when viewed by a victim, abuses a desanitization issue so the attacker can steal the victim's emails and send messages on their behalf. This matters because webmail often holds sensitive correspondence and credentials; successful abuse can lead to account takeover, data theft, and further compromise of connected systems. Confirm exact impact and fixed releases against the vendor advisory.

How it works

The weakness is CWE-79 (cross-site scripting). Roundcube fails to properly sanitize content in the message_body() function inside program/actions/mail/show.php. An attacker crafts an email that, when the victim opens it in the webmail interface, injects script that runs in the victim's browser session. That script can then read the victim's mailbox and issue send actions as the victim. No further authentication is required once the malicious message is rendered. Specific payload construction and exact trigger conditions must be confirmed against the vendor advisory; do not rely on unvalidated public proof-of-concept details.

Am I affected? How to find it in your systems

Roundcube Webmail is commonly deployed as a browser-based front-end for IMAP/SMTP mail servers in enterprises, universities, hosting providers, and self-hosted environments. It typically runs on Linux web servers (Apache, Nginx, or similar) with PHP.

If you cannot determine the exact version or patch status, treat the instance as potentially vulnerable until confirmed otherwise.

How to remediate

Apply the vendor-supplied update that addresses CVE-2024-42009 as the primary remediation. Follow the installation and upgrade instructions in the official Roundcube advisory; test in a staging environment first if possible, then roll out to production. After patching, restart the web server and PHP processes and verify that the message display path no longer permits the desanitization issue.

Additional hardening for this class of flaw:

CISA guidance also notes that organizations should apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

If you can't patch immediately

Implement compensating controls to reduce exposure until the update can be applied:

These measures lower risk but do not eliminate it; schedule the official patch as soon as operationally feasible.

If your data may have been exposed

Actively exploited vulnerabilities of this type frequently result in account compromise and data theft. If you suspect successful abuse, reset credentials for affected mailboxes, review sent-mail folders and forwarding rules, and examine logs for unauthorized access. Organizations can also run a free exposure scan of their email addresses against known breach data to determine whether credentials or personal information have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedRoundcube · Webmail
WeaknessCWE-79
Added to CISA KEVJun 9, 2025
Federal patch deadlineJun 30, 2025
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities