Home › Vulnerabilities › Roundcube
Roundcube Webmail flaws allow contact group tampering and XSS via crafted text/enriched email
Two medium-severity Roundcube Webmail vulnerabilities were published by NVD: an authorization bypass in the SQL address book's contact group handling, and a cross-site scripting flaw in how text/enriched mail parts are converted for the HTML editor. Both are reported to affect versions before 1.6.19 and 1.7.x before 1.7.4.
What to look into
- 2 vulnerabilities in Roundcube Webmail: 2 medium (CVSS up to 5.3).
- None of them is known to be exploited yet.
- Start with CVE-2026-137942 (5.3 medium): Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains an authorization bypass in addtogroup() and removefromgroup() in program/lib/Roundcube/rcubecontacts.php, which did not verify that the… An attacker with a normal user account can exploit this over the network, without any user action.
- 1 of 2 can be attacked over the network without logging in.
- Kinds of flaws: Authorization Bypass Through User-Controlled Key; Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Key points
- Two MEDIUM-severity flaws: CVE-2026-137942 (CVSS 5.3) and CVE-2026-137943 (CVSS 5.1)
- CVE-2026-137942 lets an authenticated SQL address book user alter other users' contact groups
- CVE-2026-137943 is XSS triggered when a victim replies to, forwards, or edits a crafted text/enriched email
- Affected: Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4
- The records do not state known exploitation or workarounds
Overview
NVD published two vulnerabilities in Roundcube Webmail on 2026-11-27. Both are rated MEDIUM and both affect Roundcube Webmail before 1.6.19 and the 1.7.x line before 1.7.4. The records describe one flaw in how the SQL address book manages contact groups and one cross-site scripting flaw in message composition.
Contact group authorization bypass
CVE-2026-137942 (CVSS 5.3) is an authorization bypass in the addtogroup() and removefromgroup() functions in program/lib/Roundcube/rcubecontacts.php. According to the record, these functions do not check that the contact group and the contacts belong to the current user. An authenticated user of the SQL address book could supply other users' group and contact identifiers. This could let them add contacts to, or remove them from, other users' contact groups, or add other users' contacts to their own groups.
Cross-site scripting in text/enriched handling
CVE-2026-137943 (CVSS 5.1) is a cross-site scripting flaw in composepartbody() in program/actions/mail/compose.php. The function converts a text/enriched message part into HTML for the HTML editor without sanitizing the result. The record says an attacker could send a crafted email so that injected script runs in the victim's session when the victim replies to, forwards, or edits that message.
What the records do not say
The records do not state whether either issue has been exploited in the wild. They also do not name a specific fixed version beyond the version thresholds above, and they give no workaround or detection guidance.
Who should act
Administrators running affected Roundcube Webmail releases should plan to move to a fixed release. The contact group flaw requires an authenticated account, while the cross-site scripting flaw is triggered by a victim interacting with a crafted message.
What to do
- Upgrade Roundcube Webmail to 1.6.19 or later in the 1.6 line, or 1.7.4 or later in the 1.7 line, as the records indicate
The 2 vulnerabilities
- CVE-2026-137942 5.3 Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains an authorization bypass in addtogroup() and removefromgroup() in program/lib/Roundcube/rcubecontacts.php, which did not verify that the contact group and the contacts belong t…
- CVE-2026-137943 5.1 Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains a cross-site scripting vulnerability in composepartbody() in program/actions/mail/compose.php, which converts a text/enriched message part to HTML for the HTML editor without…
Frequently asked questions
How many Roundcube Webmail vulnerabilities were published on November 27, 2026?
2 vulnerabilities: 2 medium, with CVSS scores up to 5.3.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-137942 (CVSS 5.3): Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains an authorization bypass in addtogroup() and removefromgroup() in program/lib/Roundcube/rcubecontacts.php, which did not verify that the…