draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2023-5631: Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability

Exploited in attacks

Yes. CVE-2023-5631 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 26 October 2023. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 76.3%.

Exploited in real attacks
Yes. On CISA's exploited list since 26 October 2023
Used in ransomware
Not known
Public exploit code
None found in Exploit-DB, Metasploit or Nuclei
Chance of exploitation (EPSS)
76.3% in the next 30 days, higher than 99.5% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
6.1 Medium (version 3.1)
Affects
Roundcube Webmail
Type of flaw
Cross-site scripting (CWE-79)
Published
18 October 2023
US federal patch deadline
16 November 2023

What it is

Roundcube Webmail contains a persistent cross-site scripting (XSS) vulnerability that allows a remote attacker to run malicious JavaScript code.

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.

Description from the CVE record.

Is CVE-2023-5631 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2023-5631 on 26 October 2023. That was 8 days after the CVE was published.

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place Roundcube Webmail runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Webmail. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in Roundcube products

CVEWhat it affectsStatusEPSSPublished
CVE-2025-49113Roundcube WebmailPublic exploit99.6%2 June 2025
CVE-2025-68461Roundcube WebmailPublic exploit79.1%18 December 2025
CVE-2024-42009Roundcube WebmailPublic exploit82.9%5 August 2024
CVE-2024-37383Roundcube WebmailPublic exploit74.0%7 June 2024
CVE-2020-13965Roundcube WebmailNo public exploit found76.6%9 June 2020
CVE-2023-43770Roundcube WebmailNo public exploit found63.7%22 September 2023

Sources

Machine-readable: /api/cve/CVE-2023-5631.json