CVE-2024-57004 Cross-site scripting in n/a
Authenticated attackers can inject malicious scripts via email attachments in Roundcube Webmail, potentially leading to code execution or account takeover.
- 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
- None listed
What is CVE-2024-57004?
CVE-2024-57004 is a medium-severity cross-site scripting vulnerability in Roundcube Webmail, published on 3 Feb 2025. 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
Cross-Site Scripting (XSS) vulnerability in Roundcube Webmail 1.6.9 allows remote authenticated users to upload a malicious file as an email attachment, leading to the triggering of the XSS by visiting the SENT session.
Weakness: CWE-80
Which versions are affected by CVE-2024-57004?
It affects 1 product.
Products include Roundcube Webmail.
How do I fix CVE-2024-57004?
No fix has been published for CVE-2024-57004 yet. Limit exposure of the affected software until one is available.
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-57004 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-57004 exists.
Other vulnerabilities in Roundcube Webmail
Sources
Also known as DEBIAN-CVE-2024-57004, GHSA-36j9-fp7f-7f7m, UBUNTU-CVE-2024-57004.