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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | roundcube | 1.6.8+dfsg-1 | — |
| Debian 13 | roundcube | 1.6.8+dfsg-1 | — |
| Debian 12 | roundcube | 1.6.5+dfsg-1+deb12u3 | DSA-5743-1 |
| Debian 11 | roundcube | 1.4.15+dfsg.1-1+deb11u4 | DSA-5743-2 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | roundcube | 1.6.6+dfsg-2ubuntu0.1+esm1 | USN-7636-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP6 | roundcubemail | 1.6.8-bp156.2.3.1 | openSUSE-SU-2024:0328-1 |
| SUSE Package Hub 15 SP5 | roundcubemail | 1.6.8-bp156.2.3.1 | openSUSE-SU-2024:0328-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | roundcubemail | 1.6.8-1.1 | openSUSE-SU-2024:14243-1 |
| openSUSE Leap 15.6 | roundcubemail | 1.6.8-bp156.2.3.1 | openSUSE-SU-2024:0328-1 |
| openSUSE Leap 15.5 | roundcubemail | 1.6.8-bp156.2.3.1 | openSUSE-SU-2024:0328-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 6 repositories
-
DaniTheHack3r/CVE-2024-42009-PoC ★ 8 · May 24, 2025
CVE-2024-42009 Proof of Concept
-
0xbassiouny1337/CVE-2024-42009 ★ 4 · Feb 11, 2025
This script exploits a stored XSS vulnerability (CVE-2024-42009) in Roundcube Webmail version 1.6.7. It injects a malicious payload into the webmail system, which, when triggered, exfiltrates email c…
-
ZaidArif47/CVE-2024-42009 ★ 1 · Apr 16, 2026
-
Bhanunamikaze/CVE-2024-42009 ★ 1 · Feb 13, 2025
This Proof of Concept (PoC) demonstrates an exploit for CVE-2024-42009, leveraging a cross-site scripting (XSS) vulnerability to extract emails from a target webmail application. The attack injects a…
-
segunakinsoyinu/CVE-2024-42009-roundcube-xss ★ 0 · Jun 17, 2026
-
Shubhankargupta691/CVE-2024-42009 ★ 0 · Sep 14, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Roundcube Webmail - Cross-Site Scripting http/cves/2024/CVE-2024-42009.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 7
- WID-SEC-2024-1754 Roundcube: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 29, 2026
- USN-7636-1 roundcube vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5743-2 roundcube - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-5743-1 roundcube - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:0328-1 Security update for roundcubemail SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14243-1 roundcubemail-1.6.8-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2024-0326 Kwetsbaarheden verholpen in RoundCube Webmail NCSC-NL (Netherlands) · Aug 8, 2024
References
- https://github.com/roundcube/roundcubemail/releases
- https://sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vulnerability-in-roundcube-webmail/
- https://github.com/roundcube/roundcubemail/releases/tag/1.5.8
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.8
- https://roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8