CVE-2024-42008 Cross-site scripting in n/a
Remote attackers can steal and send victim emails via XSS in Roundcube webmail triggered by malicious email attachments.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-42008?
CVE-2024-42008 is a critical cross-site scripting vulnerability in Roundcube Webmail, published on 5 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2024-42008?
It affects 1 product.
Products include Roundcube Webmail.
How do I fix CVE-2024-42008?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-42008 being exploited?
There is no known exploitation of CVE-2024-42008 in the wild and no public exploit code.
Public exploit code: 3 proofs of concept on GitHub.
Other vulnerabilities in Roundcube Webmail
Sources
Also known as DEBIAN-CVE-2024-42008, GHSA-78jf-j6qx-c7j3, UBUNTU-CVE-2024-42008.