Debian LTS ships Roundcube 1.6.5+dfsg-1+deb12u14 for Debian 12 fixing XSS, request injection and a plaintext fallback
Debian's LTS team published DLA-4948-1, an update for Roundcube on Debian 12 bookworm that fixes a batch of flaws in the webmail software, including cross-site scripting, HTTP request injection, sieve script injection, denial of service and connections that fall back to plaintext. The advisory carries no CVE identifier yet and recommends upgrading.
Why it matters
The advisory lists about a dozen issues. The spellcheck ATD backend is prone to HTTP request injection, the CSS sanitizer can be bypassed through HTML comments or multiple style links, and insufficient HTML and CSS sanitization may allow remote image blocking bypass or XSS via CSS comments. The managesieve plugin is prone to script injection via crafted comparator names and unsanitized body, address and envelope fields.
One finding stands out for operators: Dickson Wu discovered that the IMAP, SMTP and Managesieve connections fall back to insecure plaintext mode when TLS is configured and no STARTTLS capability is advertised. Other items cover attachment content such as PDF or SVG that may be passed to ImageMagick, XML injection in the password plugin's XIMSS driver, and denial of service in the TNEF decoder.
Roundcube administrators on Debian 12 should upgrade to version 1.6.5+dfsg-1+deb12u14 and verify that mail server connections are not silently falling back to plaintext. The advisory says the problem has been fixed in that version.