LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2020-35730: Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability

RBRecent Breaches Vulnerability Intelligence·Jun 22, 2023
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Jul 13, 2023
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2020-35730 to its Known Exploited Vulnerabilities catalog on Jun 22, 2023, with a federal patch deadline of Jul 13, 2023 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

Roundcube Webmail contains a cross-site scripting (XSS) vulnerability that allows an attacker to send a plain text e-mail message with Javascript in a link reference element that is mishandled by…

CVE-2020-35730 is a cross-site scripting (XSS) vulnerability in Roundcube Webmail. An attacker can craft a plain-text email containing JavaScript inside a link reference element; when the message is processed, the application mishandles that content and can execute the script in the context of a victim’s browser session. For organizations that rely on Roundcube for web-based email access, successful exploitation can lead to session theft, unauthorized actions performed as the logged-in user, or further compromise of the mail environment. Confirm exact impact and affected releases against the vendor advisory.

How it works

The weakness is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). According to the public summary, the flaw resides in the function linkref_addinindex inside rcube_string_replacer.php. When Roundcube processes an incoming plain-text message, it attempts to turn certain link-style references into clickable elements. The code fails to sanitize JavaScript that an attacker places inside those references, so the script is later rendered and executed in the victim’s browser while the user is authenticated to the webmail interface.

An attacker simply needs the ability to deliver email to a target address; no prior authentication to Roundcube is required. Once the victim opens or previews the message, the injected script runs with the privileges of that user’s session. Typical XSS consequences—cookie theft, forged requests, or redirection to attacker-controlled content—apply, though the precise payload behavior must be verified against the vendor advisory rather than assumed.

Am I affected? How to find it in your systems

Roundcube Webmail is commonly deployed as a front-end for IMAP mail servers in enterprises, universities, hosting providers, and smaller organizations that prefer a self-hosted web client. It usually runs on Linux web servers under Apache, Nginx, or similar, often behind a reverse proxy.

Because public detail on exact version ranges is limited, treat any unpatched Roundcube instance as potentially vulnerable until the vendor advisory confirms otherwise.

How to remediate

The primary remediation is to apply the security updates supplied by the Roundcube project, following the vendor’s installation instructions exactly. CISA’s required action is simply “Apply updates per vendor instructions.” After patching:

If you can't patch immediately

Until the vendor update can be installed, reduce exposure with compensating controls:

If your data may have been exposed

Actively exploited XSS vulnerabilities in webmail can lead to account takeover and subsequent data exposure. If you suspect compromise, reset affected user credentials, review mail-forwarding rules and sent-item history, and examine authentication logs for unauthorized access. You can also run a free exposure scan of your email addresses against known breach data sets to determine whether credentials or personal information have already appeared in public dumps. Document findings and follow your incident-response plan for any confirmed intrusion.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedRoundcube · Roundcube Webmail
WeaknessCWE-79
Added to CISA KEVJun 22, 2023
Federal patch deadlineJul 13, 2023
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities