← back
CVE-2023-5631

Stored XSS vulnerability in Roundcube

CVSS 6.1 MEDIUMEPSS 70.9%● KEVCWE-79
In short

Roundcube email clients before certain versions allow attackers to inject malicious JavaScript code through specially crafted HTML emails with SVG documents. This code runs when a user views the email, potentially compromising their account or stealing sensitive information.

Technical detail

Stored XSS vulnerability in rcube_washtml.php fails to properly sanitize SVG elements within HTML email messages, allowing remote attackers to inject arbitrary JavaScript. Attack vector is user email viewing; no authentication required beyond receiving the malicious message. Impact includes session hijacking and credential theft.

Summary generated and translated by AI from the 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →