CVE-2023-5631: Stored XSS vulnerability in Roundcube

Published Oct 16, 2023
·
Updated

Last updated 21 August 2024

Other sources

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/rcubewashtml.php behavior. This could allow a remote attacker

to load arbitrary JavaScript code.

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

CISA

Affected Software

13 affected componentsFixes available
debian/roundcube<=1.6.3+dfsg-1~deb12u1, <=1.4.14+dfsg.1-1~deb11u1, <=1.6.3+dfsg-2, <=1.3.17+dfsg.1-1~deb10u3
1.6.4+dfsg-11.6.4+dfsg-1~deb12u11.4.15+dfsg.1-1~deb11u1
Roundcube email server=1.4.14
Roundcube email server=1.5.x before 1.5.4
Roundcube email server=1.6.x before 1.6.3
Roundcube Webmail
Roundcube Webmail<1.4.15
Roundcube Webmail>=1.5.0<1.5.5
Roundcube Webmail>=1.6.0<1.6.4
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Debian Debian Linux=12.0
Fedoraproject Fedora=39
debian/roundcube
1.4.15+dfsg.1-1+deb11u41.4.15+dfsg.1-1+deb11u61.6.5+dfsg-1+deb12u61.6.12+dfsg-0+deb13u11.6.12+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.6.4+dfsg-1Fixed in 1.6.4+dfsg-1~deb12u1Fixed in 1.4.15+dfsg.1-1~deb11u1
  2. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.4.15+dfsg.1-1+deb11u4Fixed in 1.4.15+dfsg.1-1+deb11u6Fixed in 1.6.5+dfsg-1+deb12u6Fixed in 1.6.12+dfsg-0+deb13u1Fixed in 1.6.12+dfsg-1
  3. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.4.15+dfsg.1-1+deb11u4
  4. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.4.15+dfsg.1-1+deb11u6
  5. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.6.5+dfsg-1+deb12u6
  6. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.6.12+dfsg-0+deb13u1
  7. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.6.12+dfsg-1
  8. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.6.4+dfsg-1
  9. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.6.4+dfsg-1~deb12u1
  10. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.4.15+dfsg.1-1~deb11u1
  11. Upgrade

    Upgrade Roundcube to a version that resolves this vulnerability.

    Fixed in 1.4.15
  12. Upgrade

    Upgrade Roundcube to a version that resolves this vulnerability.

    Fixed in 1.5.5
  13. Upgrade

    Upgrade Roundcube to a version that resolves this vulnerability.

    Fixed in 1.6.4
  14. Compensating control

    Discontinue use of the product if mitigations are unavailable.

Event History

Oct 18, 2023
CVE Published
via MITRE·02:51 PM
Data Sourced
via MITRE·02:51 PM
DescriptionSeverityWeakness
Data Sourced
03:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 26, 2023
Known Exploited
via CISA·12:00 AM
Nov 17, 2023
News Published
04:04 PM
Feb 12, 2024
News Published
via BleepingComputer·07:03 PM
News Published
via BleepingComputer·07:04 PM
Jun 26, 2024
Data Sourced
via Launchpad·09:46 AM
Description
Sep 14, 2024
Data Sourced
via Ubuntu·10:00 AM
RemedyDescriptionSeverityAffected Software
Oct 21, 2024
News Published
via BleepingComputer·09:14 PM
Jan 11, 2026
Data Sourced
via Debian·08:26 AM
DescriptionAffected Software
Feb 23, 2026
News Published
via BleepingComputer·11:44 AM

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this Roundcube vulnerability?

The vulnerability ID for this Roundcube vulnerability is CVE-2023-5631.

2

What is the severity of CVE-2023-5631?

The severity of CVE-2023-5631 is high with a severity value of 6.1.

3

How does CVE-2023-5631 allow stored XSS?

CVE-2023-5631 allows stored XSS through an HTML e-mail message with a crafted SVG document because of program/lib/Roundcube/rcube_washtml.php behavior.

4

Which versions of Roundcube are affected by CVE-2023-5631?

Roundcube versions before 1.4.15, 1.5.x before 1.5.5, and 1.6.x before 1.6.4 are affected by CVE-2023-5631.

5

How can I fix CVE-2023-5631?

To fix CVE-2023-5631, upgrade to Roundcube version 1.4.15, 1.5.5, or 1.6.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203