{"id":"CVE-2024-42009","published":"2024-08-05T19:15:38Z","modified":"2026-06-17T07:48:37Z","title":"RoundCube Webmail Cross-Site Scripting Vulnerability","vendor":"Roundcube","product":"Webmail","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"A cross-site scripting flaw in Roundcube Webmail, through 1.5.7 and 1.6.x through 1.6.7, lies in the message_body() function in program/actions/mail/show.php, where a desanitization issue lets crafted content slip past sanitization. A remote attacker who sends a specially crafted email can steal and send emails from a victim's account, provided the victim opens that message (user interaction required) and no authentication is needed from the attacker.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-30T13:36:27Z"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"NVD"},"epss":{"score":0.82882,"percentile":0.9967,"date":"2026-10-29","provenance":"source"},"kev":{"dateAdded":"2025-06-09","dueDate":"2025-06-30","ransomware":false,"requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","notes":"https://roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8 ; https://nvd.nist.gov/vuln/detail/CVE-2024-42009","provenance":"source"},"vulncheckKev":{"dateAdded":"2025-06-05","exploitedFirstSeen":"2025-06-05","ransomware":false,"evidence":[{"url":"https://cert.pl/en/posts/2025/06/unc1151-campaign-roundcube/","date":"2025-06-05"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2025-06-09"},{"url":"https://harfanglab.io/insidethelab/uac-0057-pressure-ukraine-poland/","date":"2025-08-20"},{"url":"https://assets.recordedfuture.com/insikt-report-pdfs/2025/cta-2025-0828.pdf","date":"2025-08-28"},{"url":"https://www.enisa.europa.eu/sites/default/files/2025-10/ENISA%20Threat%20Landscape%202025.pdf","date":"2025-10-09"},{"url":"https://web-assets.esetstatic.com/wls/en/papers/threat-reports/eset-apt-activity-report-q2-2025-q3-2025.pdf","date":"2025-11-06"},{"url":"https://cyble.com/resources/research-reports/global-cybersecurity-report/","date":"2025-12-11"},{"url":"https://www.loginsoft.com/reports/annually/vulnerability-intelligence-report-2025","date":"2026-01-20"},{"url":"https://cert.pl/uploads/docs/Report_CP_2025.pdf","date":"2026-04-08"},{"url":"https://www.rnbo.gov.ua/files/2026/NATIONAL_CYBER_SCC/kiber_2025.pdf","date":"2026-05-12"}],"evidenceTotal":14,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 30, 2026","url":"https://otx.alienvault.com/pulse/6ae35d889ea92b4ce19c2680","created":"2026-10-29"},{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"}],"provenance":"machine"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/roundcube/roundcubemail/releases","tags":["Release Notes"]},{"url":"https://github.com/roundcube/roundcubemail/releases/tag/1.5.8","tags":["Release Notes"]},{"url":"https://github.com/roundcube/roundcubemail/releases/tag/1.6.8","tags":["Release Notes"]},{"url":"https://roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8","tags":["Vendor Advisory"]},{"url":"https://sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vulnerability-in-roundcube-webmail/","tags":["Technical Description","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-42009","tags":["US Government Resource"]}],"techniques":[{"id":"T1566.002","name":"Spearphishing Link","tactics":["initial-access"],"provenance":"source","basis":"ctid-kev","bases":["ctid-kev"],"basisDetail":"CTID Mappings Explorer KEV 07/28/2025 (ATT&CK 16.1); capability: Cross-site Scripting (XSS)","mappingType":"exploitation_technique","evidence":[],"comment":"An attacker can exploit a deserialization/desanitization issue by injecting malicious JavaScript into a message. Parsing the HTML inside the message can allow the exfiltration of email data, as well as commandeer the victim's browser.","confidence":"high"},{"id":"T1056","name":"Input Capture","tactics":["collection","credential-access"],"provenance":"source","basis":"ctid-kev","bases":["ctid-kev"],"basisDetail":"CTID Mappings Explorer KEV 07/28/2025 (ATT&CK 16.1); capability: Cross-site Scripting (XSS)","mappingType":"primary_impact","evidence":[],"comment":"An attacker can exploit a deserialization/desanitization issue by injecting malicious JavaScript into a message. Parsing the HTML inside the message can allow the exfiltration of email data, as well as commandeer the victim's browser.","confidence":"high"},{"id":"T1114","name":"Email Collection","tactics":["collection"],"provenance":"source","basis":"ctid-kev","bases":["ctid-kev"],"basisDetail":"CTID Mappings Explorer KEV 07/28/2025 (ATT&CK 16.1); capability: Cross-site Scripting (XSS)","mappingType":"primary_impact","evidence":[],"comment":"An attacker can exploit a deserialization/desanitization issue by injecting malicious JavaScript into a message. Parsing the HTML inside the message can allow the exfiltration of email data, as well as commandeer the victim's browser.","confidence":"high"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2024-39391","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-39391","exploited":true,"exploitedSince":"2025-06-09","provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":4,"skipped":2,"earliest":"2025-02-11","earliestUrl":"https://github.com/0xbassiouny1337/CVE-2024-42009","repos":[{"name":"DaniTheHack3r/CVE-2024-42009-PoC","url":"https://github.com/DaniTheHack3r/CVE-2024-42009-PoC","stars":8,"created":"2025-05-24"},{"name":"0xbassiouny1337/CVE-2024-42009","url":"https://github.com/0xbassiouny1337/CVE-2024-42009","stars":4,"created":"2025-02-11"},{"name":"Bhanunamikaze/CVE-2024-42009","url":"https://github.com/Bhanunamikaze/CVE-2024-42009","stars":1,"created":"2025-02-13"},{"name":"ZaidArif47/CVE-2024-42009","url":"https://github.com/ZaidArif47/CVE-2024-42009","stars":1,"created":"2026-04-16"}]},"nuclei":[{"id":"CVE-2024-42009","name":"Roundcube Webmail - Cross-Site Scripting","severity":"critical","path":"http/cves/2024/CVE-2024-42009.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-42009.yaml"}],"first":{"date":"2025-02-11","source":"PoC-in-GitHub","url":"https://github.com/0xbassiouny1337/CVE-2024-42009"},"provenance":"source"},"exploitRefs":[],"flow":[{"stage":"exploitation","techniques":["T1566.002"],"provenance":"source"},{"stage":"primary","techniques":["T1056","T1114"],"provenance":"source"}],"timeline":[{"date":"2024-08-05","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42009","provenance":"source"},{"date":"2025-02-11","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/0xbassiouny1337/CVE-2024-42009","provenance":"source"},{"date":"2025-06-05","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://cert.pl/en/posts/2025/06/unc1151-campaign-roundcube/","provenance":"source"},{"date":"2025-06-09","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2025-06-09","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-39391","provenance":"source"}],"speed":{"daysToPublicExploit":190,"firstExploitFrom":"PoC-in-GitHub","daysToKev":308},"priority":{"score":69.4,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 512 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.93,"detail":"percentile 0.9967"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"4 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.51,"detail":"base score 9.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-class-roundcube-webmail-cwe-79"}}