CVE-2024-42008
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() in Roundcube through 1.5.7...
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() 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 malicious e-mail attachment served with a dangerous Content-Type header.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
9.3
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() 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 malicious e-mail attachment served with a dangerous Content-Type header.
- Record
CVE-2024-42008- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List
9.3
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() 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 malicious e-mail attachment served with a dangerous Content-Type header.
- Record
CVE-2024-42008- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2024-39390
9.3
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() 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 malicious e-mail attachment served with a dangerous Content-Type header.
- Record
EUVD-2024-39390- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-78jf-j6qx-c7j3
9.3
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() in Roundcube through 1.5.7...
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() 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 malicious e-mail attachment served with a dangerous Content-Type header.
- Record
GHSA-78jf-j6qx-c7j3- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
9.3
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() 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 malicious e-mail attachment served with a dangerous Content-Type header.
- Record
CVE-2024-42008- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-42008
9.3
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() 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 malicious e-mail attachment served with a dangerous Content-Type header.
- Record
DEBIAN-CVE-2024-42008- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2024-42008
9.3
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() 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 malicious e-mail attachment served with a dangerous Content-Type header.
- Record
UBUNTU-CVE-2024-42008- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - Updated
- 2026-11-02
OSVMGASA-2024-0279 No score
Updated roundcubemail packages fix security vulnerabilities
Fix XSS vulnerability in post-processing of sanitized HTML content [CVE-2024-42009] Fix XSS vulnerability in serving of attachments other than HTML or SVG [CVE-2024-42008] Fix information leak (access to remote content) via insufficient CSS filtering [CVE-2024-42010]
- Record
MGASA-2024-0279- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:0328-1 No score
Security update for roundcubemail
This update for roundcubemail fixes the following issues:
Update to 1.6.8 This is a security update to the stable version 1.6 of Roundcube Webmail. It provides fixes to recently reported security vulnerabilities:
- Fix XSS vulnerability in post-processing of sanitized HTML content [CVE-2024-42009]
- Fix XSS vulnerability in serving of attachments other than HTML or SVG [CVE-2024-42008]
- Fix information leak (access to remote content) via insufficient CSS filtering [CVE-2024-42010]
CHANGELOG
- Managesieve: Protect special scripts in managesieve_kolab_master mode
- Fix newmail_notifier notification focus in Chrome (#9467)
- Fix fatal error when parsing some TNEF attachments (#9462)
- Fix double scrollbar when composing a mail with many plain text lines (#7760)
- Fix decoding mail parts with multiple base64-encoded text blocks (#9290)
- Fix bug where some messages could get malformed in an import from a MBOX file (#9510)
- Fix invalid line break characters in multi-line text in Sieve scripts (#9543)
- Fix bug where 'with attachment' filter could fail on some fts engines (#9514)
- Fix bug where an unhandled exception was caused by an invalid image attachment (#9475)
- Fix bug where a long subject title could not be displayed in some cases (#9416)
- Fix infinite loop when parsing malformed Sieve script (#9562)
- Fix bug where imap_conn_option's 'socket' was ignored (#9566)
- Fix XSS vulnerability in post-processing of sanitized HTML content [CVE-2024-42009]
- Fix XSS vulnerability in serving of attachments other than HTML or SVG [CVE-2024-42008]
- Fix information leak (access to remote content) via insufficient CSS filtering [CVE-2024-42010]
- Record
openSUSE-SU-2024:0328-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14243-1 No score
roundcubemail-1.6.8-1.1 on GA media
These are all security issues fixed in the roundcubemail-1.6.8-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14243-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
roundcubeDebian:12 |
before 1.6.5+dfsg-1+deb12u3, plus listed versions 1.6.1+dfsg-11.6.2+dfsg-11.6.3+dfsg-11.6.3+dfsg-1~deb12u11.6.3+dfsg-2 Show 5 moreShow less1.6.4+dfsg-11.6.4+dfsg-1~deb12u11.6.5+dfsg-11.6.5+dfsg-1+deb12u21.6.5+dfsg-1~deb12u1 |
1.6.5+dfsg-1+deb12u3 |
roundcubeDebian:13 |
before 1.6.8+dfsg-1 | 1.6.8+dfsg-1 |
roundcubeDebian:14 |
before 1.6.8+dfsg-1 | 1.6.8+dfsg-1 |
roundcubeDebian:12 From an advisory covering 3 CVEs |
before 1.6.5+dfsg-1+deb12u3, plus listed versions 1.6.1+dfsg-11.6.2+dfsg-11.6.3+dfsg-11.6.3+dfsg-1~deb12u11.6.3+dfsg-2 Show 5 moreShow less1.6.4+dfsg-11.6.4+dfsg-1~deb12u11.6.5+dfsg-11.6.5+dfsg-1+deb12u21.6.5+dfsg-1~deb12u1 |
1.6.5+dfsg-1+deb12u3 |
roundcubeDebian:11 From an advisory covering 3 CVEs |
before 1.4.15+dfsg.1-1+deb11u4, plus listed versions 1.4.11+dfsg.1-41.4.12+dfsg.1-1~bpo10+11.4.12+dfsg.1-1~deb11u11.4.13+dfsg.1-1~deb11u11.4.13+dfsg.1-1~deb11u1~bpo10+1 Show 7 moreShow less1.4.14+dfsg.1-1~deb11u11.4.14+dfsg.1-1~deb11u1~bpo10+11.4.15+dfsg.1-1+deb11u31.4.15+dfsg.1-1~deb11u11.4.15+dfsg.1-1~deb11u1~bpo10+11.4.15+dfsg.1-1~deb11u21.4.15+dfsg.1-1~deb11u2~bpo10+1 |
1.4.15+dfsg.1-1+deb11u4 |
roundcubemailMageia:9 From an advisory covering 3 CVEs |
before 1.6.8-1.mga9 | 1.6.8-1.mga9 |
roundcubeUbuntu:Pro:22.04:LTS |
before 1.5.0+dfsg.1-2ubuntu0.1~esm6, plus listed versions 1.4.11+dfsg.1-41.5.0+dfsg.1-21.5.0+dfsg.1-2ubuntu0.1~esm11.5.0+dfsg.1-2ubuntu0.1~esm21.5.0+dfsg.1-2ubuntu0.1~esm31.5.0+dfsg.1-2ubuntu0.1~esm41.5.0+dfsg.1-2ubuntu0.1~esm5 |
1.5.0+dfsg.1-2ubuntu0.1~esm6 |
roundcubeUbuntu:Pro:24.04:LTS |
before 1.6.6+dfsg-2ubuntu0.1+esm3, plus listed versions 1.6.2+dfsg-11.6.4+dfsg-11.6.5+dfsg-11.6.6+dfsg-11.6.6+dfsg-21.6.6+dfsg-2ubuntu0.11.6.6+dfsg-2ubuntu0.1+esm11.6.6+dfsg-2ubuntu0.1+esm2 |
1.6.6+dfsg-2ubuntu0.1+esm3 |
roundcubemailSUSE:Package Hub 15 SP5 From an advisory covering 3 CVEs |
before 1.6.8-bp156.2.3.1 | 1.6.8-bp156.2.3.1 |
roundcubemailSUSE:Package Hub 15 SP6 From an advisory covering 3 CVEs |
before 1.6.8-bp156.2.3.1 | 1.6.8-bp156.2.3.1 |
roundcubemailopenSUSE:Leap 15.5 From an advisory covering 3 CVEs |
before 1.6.8-bp156.2.3.1 | 1.6.8-bp156.2.3.1 |
roundcubemailopenSUSE:Leap 15.6 From an advisory covering 3 CVEs |
before 1.6.8-bp156.2.3.1 | 1.6.8-bp156.2.3.1 |
roundcubemailopenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 1.6.8-1.1 | 1.6.8-1.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | victoni/Roundcube-CVE-2024-42008-and-CVE-2024-42010-POC | 2025-02-13 |
| PoC in GitHub | Foxer131/CVE-2024-42008-9-exploit | 2025-05-26 |
| PoC in GitHub | rpgsec/Roundcube-CVE-2024-42008-POC | 2025-07-09 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, exploits, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-42008 is a critical vulnerability (CVSS 9.3) in Roundcube Webmail, published August 5, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 34.2%, the 98th percentile. Fixed in roundcube 1.6.5+dfsg-1+deb12u3.
References
github.com/roundcube/roundcubemail/releases
sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vulnerability-in-roundcube-webmail
github.com/roundcube/roundcubemail/releases/tag/1.5.8
github.com/roundcube/roundcubemail/releases/tag/1.6.8
roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8
nvd.nist.gov/vuln/detail/CVE-2024-42008
Show 15 moreShow less
github.com/advisories/GHSA-78jf-j6qx-c7j3
github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42008.json
security-tracker.debian.org/tracker/CVE-2024-42008
advisories.mageia.org/MGASA-2024-0279.html
bugs.mageia.org/show_bug.cgi?id=33460
ubuntu.com/security/CVE-2024-42008
cve.org/CVERecord?id=CVE-2024-42008
github.com/roundcube/roundcubemail/commit/89c8fe9ae9318c015807fbcbf7e39555fb30885d
ubuntu.com/security/notices/USN-8223-1
lists.opensuse.org/archives/list/[email protected]/thread/Q5GOCYS6W7WGAIH6NILISNVXQC4O7Z53
bugzilla.suse.com/1228900
bugzilla.suse.com/1228901
suse.com/security/cve/CVE-2024-42008
suse.com/security/cve/CVE-2024-42009
suse.com/security/cve/CVE-2024-42010