CVE-2024-42009: RoundCube Webmail Cross-Site Scripting Vulnerability
CVE-2024-42009 is a critical-severity flaw (CVSS 9.3) affecting webmail, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.3 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 82.9% (top 1%) |
| CISA exploited list | Yes, fix due 2025-06-30 |
| Weakness | CWE-79 |
| Published | 2024-08-05 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: DaniTheHack3r/CVE-2024-42009-PoC (8 stars)
- GitHub PoC: 0xbassiouny1337/CVE-2024-42009 (4 stars)
- GitHub PoC: Bhanunamikaze/CVE-2024-42009 (1 stars)
- Write-up: sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vulnerability
- Nuclei scan template: Roundcube Webmail - Cross-Site Scripting
Advisories and coverage
Official advisories
- CERT-FR Alerts: Multiples vulnérabilités dans Roundcube (09 août 2024) 2024-08-09
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-42009?
webmail: upgrade to 1.5.8, 1.6.8. Exact commands for each OS are on this page.
Is CVE-2024-42009 being exploited?
Yes. CVE-2024-42009 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2024-42009 affect?
CVE-2024-42009 affects webmail. Severity is critical (CVSS 9.3). 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 progr
How urgent is CVE-2024-42009?
Priority 87/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference
Software pages
PHP vulnerabilities · Roundcube vulnerabilities
Related CVEs
- CVE-2026-114729 MEDIUM 5.3 UPGRADE Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a remote content blocking bypass
- CVE-2026-114730 HIGH 7.2 UPGRADE Roundcube Webmail 1.6.14 before 1.6.20 and 1.7.0 before 1.7.5 is affected by a server-side request forgery fil
- CVE-2026-114731 MEDIUM 5.3 UPGRADE Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by an uncontrolled resource consumption vul
- CVE-2026-114732 MEDIUM 6.8 UPGRADE Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by an improper authentication vulnerability
- CVE-2024-37385 CRITICAL 9.8 UPGRADE Roundcube Webmail before 1.5.7 and 1.6.x before 1.6.7 on Windows allows command injection via im_convert_path