Skip to content
Threat Feed
low advisory

Roundcube Webmail: Stored XSS and Injection (CVE-2026-48849)

CVE-2026-48849 is a stored XSS, HTML, and CSS injection vulnerability in Roundcube Webmail that enables malicious payload execution upon session restoration.

CVE search metadata

CVE search record: CVE-2026-48849. Severity: medium. CVSS: 4.4. EPSS: 0.26%. KEV: no. Product: Roundcube Webmail (< 1.6.16), Roundcube Webmail (>= 1.7.0, < 1.7.1). Brief: Roundcube Webmail: Stored XSS and Injection (CVE-2026-48849). Brief link: https://feed.craftedsignal.io/briefs/2026-10-roundcube-xss/

Triage facts

Revision 1
Applicability
Roundcube Webmail (< 1.6.16), Roundcube Webmail (>= 1.7.0, < 1.7.1)
Evidence
Unknown
Severity
Low
Action
Elevated
Sources
5 public sources
Freshness
Revision 1Oct 22, 09:45 UTC
Detection
1 rule
Vulnerabilities
1 CVE
Source quality
B3Likely

CVE-2026-48849 is a stored Cross-Site Scripting (XSS), HTML injection, and CSS injection vulnerability affecting Roundcube Webmail. The vulnerability resides in the handling of the email subject field during session restoration processes. An attacker can inject malicious payloads into an email subject; these payloads are stored within draft or session restoration data. When the targeted user logs back into the webmail interface, the stored payload executes automatically in the user's authenticated context.

Attack Chain

  1. Attacker crafts an email subject containing XSS, HTML, or CSS payloads.
  2. Attacker logs into Roundcube Webmail and initiates a composition of a new message.
  3. Attacker inputs the malicious payload into the "Subject" field.
  4. Attacker triggers a background action (e.g., image attachment) to store the draft data.
  5. Attacker forces an invalidation or expiration of the session while the session restoration data is cached.
  6. Victim logs back into the Roundcube interface using valid credentials.
  7. Roundcube attempts to restore the previous session, triggering the execution of the injected payload from the subject field.

Impact

Successful exploitation allows for the execution of arbitrary JavaScript in the victim's session, DOM manipulation, visual defacement via CSS injection, and the creation of phishing overlays within the webmail interface. Payloads persist within the user's draft or session restoration data until removed.

Recommendation

  • Upgrade all Roundcube Webmail installations to version 1.6.16 or 1.7.1 immediately.
  • Review web server access logs for anomalous POST requests to mail composition or draft-saving endpoints containing script tags or HTML/CSS injection metacharacters.
  • Monitor webmail user activity for unexpected UI overlays or unusual script execution patterns following user logins.

Immediate actions

Patch Roundcube Webmail to 1.6.16 or 1.7.1.

IT Operations 48h

Mitigations

Upgrade Roundcube Webmail to 1.6.16 or 1.7.1

immediate IT Operations

CVE-2026-48849

Detection coverage 1

Detect CVE-2026-48849 Exploitation Attempt

medium

Detects potential exploitation of CVE-2026-48849 by identifying script tags or CSS injection patterns in POST requests to Roundcube composition endpoints.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →