---
id: "CVE-2024-42009"
kind: "vulnerability"
aliases: ["CVE-2024-42009"]
title: "roundcube webmail: A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to\u2026"
severity: "critical"
cvss: 9.3
epss: null
exploited: true
status: "open"
category: "package"
products: [{"name": "roundcube webmail", "fixed": ["1.5.8"], "affected": "< 1.5.8", "ecosystem": "vendor"}, {"name": "roundcube webmail", "fixed": ["1.6.8"], "affected": ">= 1.6.0, < 1.6.8", "ecosystem": "vendor"}, {"name": "Roundcube Webmail", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["exploited", "package", "roundcube", "self-hosted", "webmail"]
not_affected_if: ["no-roundcube-deployment"]
published_at: "2024-08-05T19:15:38+00:00"
first_seen_at: "2026-10-23T19:11:51+00:00"
updated_at: "2026-10-24T00:09:50+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2024-42009", "first_seen_at": "2026-10-23T19:11:51+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-42009", "first_seen_at": "2026-10-23T22:29:05+00:00"}]
---

# roundcube webmail: A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to…

Roundcube Webmail has a cross-site scripting flaw in how it renders email message bodies. A crafted email can run script in the victim's session, letting an attacker read and send mail as that user.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:roundcube webmail affected < 1.5.8 fixed 1.5.8
- vendor:roundcube webmail affected >= 1.6.0, < 1.6.8 fixed 1.6.8
- vendor:Roundcube Webmail affected ? fixed ?

## Fix

Upgrade Roundcube Webmail to a release that includes the fix for CVE-2024-42009; the fixed version is not stated in the sources.
CISA says to apply vendor mitigations or discontinue use if none are available.

## Timeline

- 2026-10-23T19:11:51+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2024-42009
- 2026-10-23T22:29:05+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2024-42009

## From the sources

RoundCube Webmail contains a cross-site scripting vulnerability. This vulnerability could allow 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.

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
