Skip to content

Known exploited

CVE-2023-5631 on Ubuntu 20.04 LTS: affected packages and fixed versions

6 packages on Ubuntu 20.04 LTS are affected by CVE-2023-5631 (Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability). A host is fixed once the package is at the version below or newer.

This vulnerability is known to be exploited. CISA added it to its catalog on October 26, 2023, with a remediation date of November 16, 2023 for US federal agencies.

Affected packages

PackageFixed inSeverityAdvisory
roundcube 1.4.3+dfsg.1-1ubuntu0.1~esm4 High USN-6848-1
roundcube-core 1.4.3+dfsg.1-1ubuntu0.1~esm4 High USN-6848-1
roundcube-mysql 1.4.3+dfsg.1-1ubuntu0.1~esm4 High USN-6848-1
roundcube-pgsql 1.4.3+dfsg.1-1ubuntu0.1~esm4 High USN-6848-1
roundcube-plugins 1.4.3+dfsg.1-1ubuntu0.1~esm4 High USN-6848-1
roundcube-sqlite3 1.4.3+dfsg.1-1ubuntu0.1~esm4 High USN-6848-1

Check a host

Show the installed versions and compare with the table above:

dpkg-query -W -f='${Package} ${Version}\n' roundcube roundcube-core roundcube-mysql roundcube-pgsql

Update to the fixed build:

sudo apt-get update && sudo apt-get install --only-upgrade roundcube roundcube-core roundcube-mysql roundcube-pgsql

The fixed version may look older than the upstream release that fixed the bug. Ubuntu 20.04 LTS carries the fix in the version it already ships.

What it is

Roundcube before 1.4.15, 1.5.x before 1.5.5, and 1.6.x before 1.6.4 allows stored XSS via an HTML e-mail message with a crafted SVG document because of program/lib/Roundcube/rcube_washtml.php behavior. This could allow a remote attacker to load arbitrary JavaScript code.

CVE-2023-5631 on other releases

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup