Stored cross-site scripting in Roundcube Webmail - CVE-2021-46144
Published: January 9, 2022
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 passed via an HTML e-mail message with crafted Cascading Style Sheets (CSS) token sequences. A remote attacker can trick the victim to open a specially crafted email 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
roundcube (Debian package)
How to mitigate CVE-2021-46144
roundcube (Debian package) - addressed in versions 1.3.17+dfsg.1-1~deb10u2, 1.4.13+dfsg.1-1~deb11u1
External References
- https://roundcube.net/news/2021/12/30/update-1.5.2-released
- https://bugs.debian.org/1003027
- https://github.com/roundcube/roundcubemail/commit/8894fddd59b770399eed4ef8d4da5773913b5bf0
- https://github.com/roundcube/roundcubemail/commit/b2400a4b592e3094b6c84e6000d512f99ae0eed8
- https://roundcube.net/news/2021/12/30/security-update-1.4.13-released