cve.bz

CVE-2024-42009 RoundCube Webmail Cross-Site Scripting Vulnerability

9.3 criticalKEVEPSS 83%

Critical (9.3) in Roundcube Webmail. In CISA KEV since 2025-06-09. EPSS 83% estimated probability of exploitation activity in the next 30 days.

On this page
A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a crafted e-mail message that abuses a Desanitization issue in message_body() in program/actions/mail/show.php.

Severity

CVSS 3.1

9.3 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
EPSS
83% (unchanged from 83% a week ago; 83% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2025-06-09, due 2025-06-30
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-08-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-42009 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-42009?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-42009?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-42009 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
roundcube:webmailbefore 1.5.8
roundcube:webmailfrom 1.6.0 before 1.6.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11roundcube1.4.15+dfsg.1-1+deb11u4DSA-5743-2
Debian12roundcube1.6.5+dfsg-1+deb12u3DEBIAN-CVE-2024-42009 DSA-5743-1
Debian13, 14roundcube1.6.8+dfsg-1DEBIAN-CVE-2024-42009
UbuntuPro:24.04:LTSroundcube1.6.6+dfsg-2ubuntu0.1+esm1UBUNTU-CVE-2024-42009 USN-7636-1
SUSEPackage Hub 15 SP5, Package Hub 15 SP6roundcubemail1.6.8-bp156.2.3.1openSUSE-SU-2024:0328-1
openSUSELeap 15.5, Leap 15.6roundcubemail1.6.8-bp156.2.3.1openSUSE-SU-2024:0328-1
openSUSETumbleweedroundcubemail1.6.8-1.1openSUSE-SU-2024:14243-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template Roundcube Webmail - Cross-Site Scripting
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Roundcube onanimationstart Cross Site Scripting Attempt (CVE-2024-42009) sid 2071267
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Roundcube Webmail Cross-Site Scripting (CVE-2024-42009) sid 2066621

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON