Skip to main content

Roundcube Webmail EUVDEUVD-2026-107882

| CVE-2026-114718 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-22 mitre GHSA-5m53-2722-m96x
4.7
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain control/influence over password driver backend
  2. Delivery
    Craft error response with HTML/script payload
  3. Exploit
    Victim initiates password change in plugin
  4. Execution
    Unescaped error rendered in webmail UI
  5. Impact
    Script executes in authenticated session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the Roundcube 'password' plugin to be enabled and configured with a driver whose error text an attacker can influence - the description specifically names a backend such as the DirectAdmin API returning attacker-controlled error text. The vulnerable code path is the password driver error-response handler in password.php/directadmin.php, where driver message text was concatenated into the user-facing message without HTML escaping. A victim must actively initiate a password-change operation (UI:R) for the malicious error to be rendered, and the affected versions are Roundcube before 1.6.20 and 1.7.x before 1.7.5. Limiting factors: the attacker does not control Roundcube directly but must sit on or compromise the password backend, the password plugin must be deployed (it is optional), and user interaction is mandatory - making opportunistic mass exploitation impractical.

Impact

This is a genuinely low-to-moderate priority issue despite its CWE-79 (XSS) classification, and the signals are internally consistent rather than conflicting. The provided CVSS 3.1 vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N, base 4.7, Medium) correctly reflects several dampening factors: AC:H because the attacker cannot simply send a payload to Roundcube but must control or influence the error text returned by a password-change backend driver (the description cites the DirectAdmin API); UI:R because a victim must actively initiate a password change through the password plugin; and only Low confidentiality/integrity impact with no availability impact (C:L/I:L/A:N). The scope change (S:C) is the one signal that raises severity, reflecting that injected script executes in the victim's authenticated Roundcube session context. No EPSS score was supplied in the input, so exploitation probability cannot be quantified from the data. The CVE is NOT in CISA KEV and no proof-of-concept is referenced, so this is no public exploit identified at time of analysis. The PR:N marking means Roundcube itself requires no authentication from the attacker's perspective, but the real precondition - control over the backend driver's error response - is a meaningful barrier not captured by PR. Overall: a real but hard-to-exploit, high-complexity, user-interaction-dependent XSS, not an urgent mass-exploitation threat.

Exploit ScenarioDerived

A hosting provider's password-change backend (e.g., a DirectAdmin server the attacker controls or can influence) returns an error message containing an embedded HTML/script payload. When a Roundcube user attempts to change their password via the password plugin, the unescaped driver error text is concatenated into the on-screen message and the script executes in the victim's authenticated webmail session. No public exploit code is referenced in the available data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 22, 2026

Cross-site scripting in the optional password plugin of Roundcube Webmail (before 1.6.20, and 1.7.x before 1.7.5) allows a hostile or compromised password backend - the advisory names the DirectAdmin API - to inject script into the webmail interface by returning crafted error text during a password-change attempt. The driver's message was concatenated into the user-facing error string without HTML escaping, so the payload executes in the victim's Roundcube session and can read or act on mail content within that origin (scope change). Exploitation requires the password plugin to be enabled and a victim to actually submit a password change (UI:R), which limits mass abuse; the CVSS vector rates it 4.7 with PR:N but high attack complexity, and no public exploit code or CISA KEV listing was identified at time of analysis. Vendor-released patches exist in 1.6.20 and 1.7.5.

RemediationAI

Vendor-released patch: upgrade to Roundcube Webmail 1.6.20 (for the 1.6.x line) or 1.7.5 (for the 1.7.x line), available from https://github.com/roundcube/roundcubemail/releases/tag/1.6.20 and https://github.com/roundcube/roundcubemail/releases/tag/1.7.5; administrators who cannot upgrade immediately can cherry-pick commit 16bbca70b668e85332f23333946a764865bead94 (or 94298856ee67ff7817cc4def2adb634be91e28c7), which restores escaping by having password.php pass driver messages through rcube::Q($message, 'strict', false). If the password plugin is not required, disable it (remove or comment out 'password' in the plugins array of config/config.inc.php) - this eliminates the vulnerable code path entirely but removes users' self-service password change capability, and its effect must be communicated since users will otherwise attempt a non-functional UI. As a containment measure, harden and restrict the password backend so untrusted text cannot reach Roundcube: lock the DirectAdmin API to a trusted management network, enforce TLS with certificate validation for the API endpoint, and ensure only the Roundcube host can reach it - this reduces the number of parties able to supply malicious error text but does not fix the missing output encoding. Adding a Content-Security-Policy to the webmail vhost can blunt script execution from injected markup as defense in depth, but Roundcube's reliance on inline assets means a strict policy may break the UI and requires careful testing before rollout. Verify remediation by attempting a password change that returns an error and confirming the text is HTML-encoded in the rendered response.

Affected VersionsENISA

Webmail 1.7.0 <1.7.5
Webmail 1.6.0 <1.6.20

Affected Packages

euvd webmail fix: 1.6.20, 1.7.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Roundcube is a PHP webmail client whose password plugin delegates credential changes to pluggable backend drivers (directadmin.php, ldap, sql, etc.). CWE-79 applies because the driver returned an associative array whose 'message' element was treated as trusted text: the DirectAdmin driver passed the API's response text through strip_tags() only, and password.php's _save() appended that value directly to the $reason string presented to the user, so any HTML - including event-handler or script-bearing markup that survives strip_tags - was rendered unescaped. The upstream commit "Fix XSS issue in handling of password driver error responses" relocates the escaping responsibility to the presentation layer: directadmin.php now returns the raw response text, and password.php wraps it with rcube::Q($message, 'strict', false), which performs strict HTML entity encoding. The CVSS scope change (S:C) reflects that script running in the Roundcube origin gains access to the authenticated webmail session rather than the backend that supplied the text. Because the injection point is the backend's error string, the attacker's position is upstream of Roundcube - they must control or compromise the password service (for example by spoofing or interfering with the DirectAdmin API response), not Roundcube itself, and the malicious markup is only rendered after the user initiates a password change.

Know when Roundcube gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 4.7 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.7 MEDIUM

AC:H and UI:R because the attacker must control a backend driver's error text and the victim must initiate a password change; S:C as script runs in the authenticated webmail session; only C:L/I:L.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Red Hat 4.7 MEDIUM

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a cross-site scripting vulnerability in the password plugin. Error text returned by a password driver was concatenated into the message presented to the user without HTML escaping, so a backend able to influence that text, such as the DirectAdmin API, could inject script into the Roundcube interface. Upstream fixed this in the commit “Fix XSS issue in handling of password driver error responses”, which escapes the driver message before display.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
High
popular open-source webmail, common across shared-hosting providers
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-16651 HIGH POC
7.8 Nov 09

Roundcube Webmail before 1.1.10, 1.2.x before 1.2.7, and 1.3.x before 1.3.3 allows unauthorized access to arbitrary file

CVE-2016-9920 HIGH POC
7.5 Dec 08

steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the send

CVE-2015-8770 HIGH POC
7.5 Jan 29

Directory traversal vulnerability in the set_skin function in program/include/rcmail_output_html.php in Roundcube before

CVE-2020-12641 CRITICAL POC
9.8 May 04

rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in

CVE-2020-12640 CRITICAL POC
9.8 May 04

Roundcube Webmail before 1.4.4 allows attackers to include local files and execute code via directory traversal in a plu

CVE-2015-2180 HIGH POC
8.8 Jan 30

The DBMail driver in the Password plugin in Roundcube before 1.1.0 allows remote attackers to execute arbitrary commands

CVE-2024-42009 CRITICAL POC
9.3 Aug 05

A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to stea

CVE-2015-2181 HIGH POC
8.8 Jan 30

Multiple buffer overflows in the DBMail driver in the Password plugin in Roundcube before 1.1.0 allow remote attackers t

CVE-2017-8114 HIGH POC
8.8 Apr 29

Roundcube Webmail allows arbitrary password resets by authenticated users. Rated high severity (CVSS 8.8), this vulnerab

CVE-2026-48842 HIGH POC
8.1 May 25

Pre-authentication SQL injection in Roundcube Webmail's virtuser_query plugin allows unauthenticated remote attackers to

CVE-2018-1000071 HIGH POC
7.5 Mar 13

roundcube version 1.3.4 and earlier contains an Insecure Permissions vulnerability in enigma plugin that can result in e

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy