Every CVE Search/ Get API key

CVE-2023-5631

Stored XSS vulnerability in Roundcube

6.1 MediumIn KEVFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

76.3%Up 76.3 points since Oct 19, 2023
90%50%10%1%

What each source reports

CVE List Score used 6.1

Stored XSS vulnerability in Roundcube

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.

Record
CVE-2023-5631
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2023-57924 6.1

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.

Record
EUVD-2023-57924
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-qf8f-27cp-gw76 6.1

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...

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.

Record
GHSA-qf8f-27cp-gw76
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
CISA KEV No score

Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability

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

Record
CVE-2023-5631
Weakness
CWE-79
Updated
2026-11-02
NVD 6.1

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.

Record
CVE-2023-5631
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 6.1

Stored XSS vulnerability in Roundcube

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.

Record
CVE-2023-5631
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2023-5631 5.4

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.

Record
DEBIAN-CVE-2023-5631
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2023-5631 6.1

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.

Record
UBUNTU-CVE-2023-5631
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVBIT-roundcube-2023-5631 No score

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 attackerto load arbitrary JavaScript code.

Record
BIT-roundcube-2023-5631
Updated
2026-11-02
OSVMGASA-2023-0332 No score

Updated roundcubemail packages fix XSS security vulnerabilities

Updated roundcubemail package fixes security vulnerabilities:

Fix cross-site scripting (XSS) vulnerability in setting Content-Type/ Content-Disposition for attachment preview/download (CVE-2023-47272)

Fix cross-site scripting (XSS) vulnerability in handling of SVG in HTML messages. (CVE-2023-5631)

Some other errors have been fixed:

  • Fix PHP8 fatal error when parsing a malformed BODYSTRUCTURE
  • Fix duplicated Inbox folder on IMAP servers that do not use Inbox folder with all capital letters
  • Fix PHP warnings
  • Fix UI issue when dealing with an invalid managesieve_default_headers value
  • Fix bug where images attached to application/smil messages weren't displayed
  • Fix PHP string replacement error in utils/error.php
  • Fix regression where smtp_user did not allow pre/post strings before/after %u placeholder
Record
MGASA-2023-0332
Updated
2026-11-02
OSVopenSUSE-SU-2023:0345-1 No score

Security update for roundcubemail

This update for roundcubemail fixes the following issues:

Update to version 1.6.4 (boo#1216429):

  • CVE-2023-5631: Fix cross-site scripting vulnerability in handling of SVG in HTML messages
  • Fix PHP8 warnings
  • Fix default 'mime.types' path on Windows
  • Managesieve: Fix javascript error when relational or spamtest extension is not enabled
Record
openSUSE-SU-2023:0345-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13365-1 No score

roundcubemail-1.6.4-1.1 on GA media

These are all security issues fixed in the roundcubemail-1.6.4-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13365-1
Updated
2026-11-02
OSVUSN-6848-1 No score

roundcube vulnerabilities

Matthieu Faou and Denys Klymenko discovered that Roundcube incorrectly handled certain SVG images. A remote attacker could possibly use this issue to load arbitrary JavaScript code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 23.10. (CVE-2023-5631)

Rene Rehme discovered that Roundcube incorrectly handled certain headers. A remote attacker could possibly use this issue to load arbitrary JavaScript code. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 23.10. (CVE-2023-47272)

Valentin T. and Lutz Wolf discovered that Roundcube incorrectly handled certain SVG images. A remote attacker could possibly use this issue to load arbitrary JavaScript code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 23.10. (CVE-2024-37383)

Huy Nguyễn Phạm Nhật discovered that Roundcube incorrectly handled certain fields in user preferences. A remote attacker could possibly use this issue to load arbitrary JavaScript code. (CVE-2024-37384)

Record
USN-6848-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
roundcube
Bitnami
before 1.4.15, 1.5.0 up to 1.5.5, 1.6.0 up to 1.6.4
1.4.151.5.51.6.4
roundcube
Debian:12
before 1.6.4+dfsg-1~deb12u1, plus listed versions
1.6.1+dfsg-11.6.2+dfsg-11.6.3+dfsg-11.6.3+dfsg-1~deb12u11.6.3+dfsg-2
1.6.4+dfsg-1~deb12u1
roundcube
Debian:13
before 1.6.4+dfsg-1
1.6.4+dfsg-1
roundcube
Debian:14
before 1.6.4+dfsg-1
1.6.4+dfsg-1
roundcube
Debian:10
before 1.3.17+dfsg.1-1~deb10u4, plus listed versions
1.3.10+dfsg.1-11.3.10+dfsg.1-1~deb10u11.3.11+dfsg.1-1~deb10u11.3.13+dfsg.1-1~deb10u11.3.14+dfsg.1-1~deb10u1
Show 6 moreShow less
1.3.15+dfsg.1-1~deb10u11.3.16+dfsg.1-1~deb10u11.3.17+dfsg.1-1~deb10u11.3.17+dfsg.1-1~deb10u21.3.17+dfsg.1-1~deb10u31.3.8+dfsg.1-2
1.3.17+dfsg.1-1~deb10u4
roundcube
Debian:11
before 1.4.15+dfsg.1-1~deb11u1, plus listed versions
1.4.11+dfsg.1-41.4.12+dfsg.1-1~bpo10+11.4.12+dfsg.1-1~deb11u11.4.13+dfsg.1-1~deb11u11.4.13+dfsg.1-1~deb11u1~bpo10+11.4.14+dfsg.1-1~deb11u11.4.14+dfsg.1-1~deb11u1~bpo10+11.4.15+dfsg.1-1~deb11u1~bpo10+1
1.4.15+dfsg.1-1~deb11u1
roundcubemail
Mageia:9
before 1.6.5-1.mga9
1.6.5-1.mga9
roundcube
Ubuntu:Pro:18.04:LTS
before 1.3.6+dfsg.1-1ubuntu0.1~esm4, plus listed versions
1.3.0+dfsg.1-11.3.1+dfsg.1-11.3.3+dfsg.1-11.3.3+dfsg.1-21.3.6+dfsg.1-11.3.6+dfsg.1-1ubuntu0.1~esm11.3.6+dfsg.1-1ubuntu0.1~esm21.3.6+dfsg.1-1ubuntu0.1~esm3
1.3.6+dfsg.1-1ubuntu0.1~esm4
roundcube
Ubuntu:Pro:20.04:LTS
before 1.4.3+dfsg.1-1ubuntu0.1~esm4, plus listed versions
1.3.8+dfsg.1-21.3.10+dfsg.1-11.4.1+dfsg.1-21.4.2+dfsg.1-11.4.2+dfsg.1-2
Show 4 moreShow less
1.4.3+dfsg.1-11.4.3+dfsg.1-1ubuntu0.1~esm11.4.3+dfsg.1-1ubuntu0.1~esm21.4.3+dfsg.1-1ubuntu0.1~esm3
1.4.3+dfsg.1-1ubuntu0.1~esm4
roundcube
Ubuntu:Pro:22.04:LTS
before 1.5.0+dfsg.1-2ubuntu0.1~esm3, plus listed versions
1.4.11+dfsg.1-41.5.0+dfsg.1-21.5.0+dfsg.1-2ubuntu0.1~esm11.5.0+dfsg.1-2ubuntu0.1~esm2
1.5.0+dfsg.1-2ubuntu0.1~esm3
Show 4 moreShow less
Affected packages
PackageAffectedFixed
roundcube
Ubuntu:Pro:16.04:LTS
before 1.2~beta+dfsg.1-0ubuntu1+esm4, plus listed versions
1.1.1+dfsg.1-21.1.2+dfsg.1-51.1.3+dfsg.1-11.1.4+dfsg.1-11.2~beta+dfsg.1-0ubuntu11.2~beta+dfsg.1-0ubuntu1+esm11.2~beta+dfsg.1-0ubuntu1+esm21.2~beta+dfsg.1-0ubuntu1+esm3
1.2~beta+dfsg.1-0ubuntu1+esm4
roundcubemail
SUSE:Package Hub 15 SP5
before 1.6.4-bp155.2.6.1
1.6.4-bp155.2.6.1
roundcubemail
openSUSE:Leap 15.5
before 1.6.4-bp155.2.6.1
1.6.4-bp155.2.6.1
roundcubemail
openSUSE:Tumbleweed
before 1.6.4-1.1
1.6.4-1.1

History

History
RecordedChangedSources
exploitation
first indexedCVE List, EUVD, GitHub Advisories, CISA KEV, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-5631 is a medium vulnerability (CVSS 6.1) in Debian Linux, published October 18, 2023. CISA lists it as known to be exploited, since October 26, 2023. EUVD reports exploitation since October 26, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 76.3%, the 99th percentile. Fixed in roundcube 1.4.15.

References

Show 29 moreShow less
MoveEnter Open