Roundcube stored XSS via crafted email runs attacker JavaScript in mailbox
Stored XSS in Roundcube 1.5.x through 1.5.7 and 1.6.x through 1.6.7 allows a crafted email to execute attacker JavaScript in a victim's mailbox session. CVSS 9.3. Patched August 2024.
- Vendor
- Roundcube
- Product
- Roundcube Webmail (1.5.x through 1.5.7; 1.6.x through 1.6.7)
- CVSS
- 9.3
- EPSS (exploit probability)
- 82.9%
- Status
- kev
- CISA patch-by (BOD 22-01)
- Published
Is CVE-2024-42009 being exploited?
Yes. CISA added CVE-2024-42009 to its Known Exploited Vulnerabilities catalog on . CISA only lists a CVE when it has reliable evidence of exploitation in the wild. It is also listed in ENISA's EU Vulnerability Database (EUVD) exploited list.
FIRST's EPSS model puts the probability of exploitation activity in the next 30 days at 82.9% (scored October 14, 2026).
- CISA KEV[ LISTED ]
- ENISA EUVD (exploited)[ LISTED ]
- CIRCL KEV[ — ]
Catalog snapshot 2026-11-20. Full cross-catalog view: /kev-comparison
CVE-2024-42009 timeline
Every event links to its source. Catalog dates are each catalog's own; day offsets count from NVD publication. Data: JSON
What to do
US federal civilian agencies must remediate by (21 days after listing) under BOD 22-01. Everyone else: that deadline is a sensible upper bound, not a target. Vendor guidance and the NVD record are linked under Source above.
Cross-site scripting in Roundcube’s message rendering path. A crafted inbound email abuses a desanitization issue in program/actions/mail/show.php (message_body()) to run attacker-controlled JavaScript inside the victim’s active mailbox session when the message is viewed. No user action beyond opening the email required.
Affected. Roundcube Webmail through 1.5.7 and 1.6.x through 1.6.7.
Exploitation status. Active. Proofpoint confirmed exploitation by the China-aligned cluster UNK_MassTraction (overlapping tooling with UNC5174) against U.S. and Canadian university physics and engineering departments. The XSS is not the end goal — it’s the first link in a chain: IceCube JavaScript payload harvests session cookies and 2FA material; access is then used to chain into CVE-2025-49113 for RCE. The combination means a phishing email can become full server compromise.
Patch. Roundcube released fixes in August 2024. Instances still running pre-patch versions remain valid ingress for this chain. There is no ambiguity about timing: UNK_MassTraction started the campaign with this flaw publicly patched.
What to do. Verify Roundcube version. Upgrade to 1.5.8+ or 1.6.8+. Treat unpatched Roundcube deployments as remote-access nodes, not just mail viewers — the same scrutiny applied to VPN concentrators.
Sources. NVD CVE-2024-42009 · Proofpoint Threat Insight: UNK_MassTraction campaign (via The Hacker News)
Other Roundcube Webmail CVEs we track
| CVE / Vulnerability | Severity | CVSS | EPSS | Added to KEV |
|---|---|---|---|---|
| CVE-2026-48842 Pre-auth SQL injection in Roundcube Webmail virtuser_query pluginwrite-up | [ HIGH ] | 8.1 | 1.7% | — |
| CVE-2025-68461 RoundCube Webmail Cross-site Scripting Vulnerability | [ HIGH ] | 7.2 | 28.3% | |
| CVE-2025-49113 Roundcube post-auth RCE via PHP object deserialization in upload handlerwrite-up | [ CRITICAL ] | 9.9 | 99.6% | |
| CVE-2024-37383 RoundCube Webmail Cross-Site Scripting (XSS) Vulnerability | [ MEDIUM ] | 6.1 | 74.0% | |
| CVE-2020-13965 Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability | [ MEDIUM ] | 6.1 | 76.6% | |
| CVE-2023-43770 Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability | [ MEDIUM ] | 6.1 | 63.7% | |
| CVE-2023-5631 Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability | [ MEDIUM ] | 6.1 | 76.3% | |
| CVE-2021-44026 Roundcube Webmail SQL Injection Vulnerability | [ CRITICAL ] | 9.8 | 69.9% |
