XSS via XML Attachment in Roundcube Webmail <1.3.12, <1.4.5
CVE-2020-13965 is a cross-site scripting (XSS) vulnerability in Roundcube Webmail versions prior to 1.3.12 and 1.4.x prior to 1.4.5. The vulnerability arises because the application allows previewing attachments with the MIME type text/xml, which can be crafted to include malicious JavaScript. When a user previews such a malicious XML attachment, the embedded script can execute in the context of the user's session.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's Roundcube session. This can lead to session hijacking, theft of sensitive information, or further attacks within the webmail environment.
If you can’t patch tonight, do this now.
As an interim measure, administrators can disable the preview of text/xml attachments or restrict the allowed attachment types for preview. Additionally, applying strict Content Security Policy (CSP) headers may help mitigate the impact of XSS vulnerabilities.
Patch, then assume compromise.
Upgrade Roundcube Webmail to version 1.3.12, 1.4.5, or later, where the handling of text/xml attachments for preview has been corrected to prevent XSS.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.