Skip to content
RedCVE

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

ExploitedRoundcubeDebianfedoraprojectPublished:

CVSS score

5.4

Medium

CVSS 3.1 from NVD

Exploit probability (EPSS)

76.3%

76.3% chance of exploitation in the next 30 days, higher than 99.5% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 26 Oct 2023.

US federal deadline to fix: 16 Nov 2023.

Official description

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.

Source: NVD · CNA: security@eset.com

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 26 Oct 2023.

    US federal agencies must fix it by 16 Nov 2023. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Roundcube Webmail, Debian Linux, fedoraproject Fedora, Roundcubemail and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Webmail to 1.4.15, 1.5.5, 1.6.4 or later, on the branch you run.
    • Update Roundcubemail to 1.5.4, 1.5.14, 1.6.3 or later, on the branch you run.
  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  5. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected products

Affected productsVersions
Roundcube Webmail< 1.4.15 · ≥ 1.5.0, < 1.5.5 · ≥ 1.6.0, < 1.6.4
Debian Debian Linux10.0 · 11.0 · 12.0
fedoraproject Fedora39
Roundcube Roundcubemail≥ 1.6.0, < 1.6.3 · ≥ 1.5.0, < 1.5.4 · ≥ 1.4.0, < 1.5.14

Weakness

  • CWE-79 cross-site scripting (XSS)

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2023-5631 being exploited?

Yes. CISA added CVE-2023-5631 to its Known Exploited Vulnerabilities catalog on 26 Oct 2023, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 76.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2023-5631?

CVE-2023-5631 has a CVSS 3.1 base score of 5.4 (medium).

Which versions are affected?

Roundcube Webmail (< 1.4.15; ≥ 1.5.0, < 1.5.5; ≥ 1.6.0, < 1.6.4), Debian Debian Linux (10.0; 11.0; 12.0), Fedoraproject Fedora (39), Roundcube Roundcubemail (≥ 1.6.0, < 1.6.3; ≥ 1.5.0, < 1.5.4; ≥ 1.4.0, < 1.5.14)

Is there a patch for CVE-2023-5631?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.