Cross-site scripting in Roundcube Webmail - CVE-2024-42008
Published: August 5, 2024 / Updated: April 11, 2025
Vulnerability details
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data within serving of attachments other than HTML or SVG. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Affected software
Debian Linux
Fedora
Ubuntu
roundcube (Ubuntu package)
roundcube (Debian package)
roundcubemail
How to mitigate CVE-2024-42008
roundcube (Ubuntu package) - addressed in versions 1.2~beta+dfsg.1-0ubuntu1+esm8, 1.3.6+dfsg.1-1ubuntu0.1~esm8, 1.4.3+dfsg.1-1ubuntu0.1~esm8, 1.5.0+dfsg.1-2ubuntu0.1~esm6, 1.6.6+dfsg-2ubuntu0.1+esm3
roundcube (Debian package) - addressed in versions 1.4.15+dfsg.1-1+deb11u4, 1.6.5+dfsg-1+deb12u3
roundcubemail - addressed in versions 1.5.8-1.el9, 1.6.8-1.fc39, 1.6.8-1.fc40