Actively exploited in the wild. This CVE is on the CISA Known Exploited Vulnerabilities list — treat remediation as urgent. Federal remediation due by 17 Jul 2024.
Debian LinuxOperating system · Debian

CVE-2020-13965

MEDIUM · 6.1 CVSS v3.1 Published 2020-06-09
Fix available
A fix is available. Upgrade to 1.3.12 / 1.4.5 or later.
See remediation →
100/100
Remediation priority · Urgent
In the wild High EPSS Public exploit Remotely reachable No privileges Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An issue was discovered in Roundcube Webmail before 1.3.12 and 1.4.x before 1.4.5. There is XSS via a malicious XML attachment because text/xml is among the allowed types for a preview.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Roundcube Webmail versions before 1.3.12 and 1.4.x before 1.4.5 allow XSS attacks via malicious XML attachments. The vulnerability exists because text/xml is an allowed MIME type for attachment previews, enabling attackers to inject malicious scripts that execute when users view the attachment preview.

MitigationUpgrade Roundcube Webmail to version 1.3.12 or 1.4.5 or later. Alternatively, disable XML attachment previews or restrict allowed MIME types in the configuration.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Debian LinuxOperating system
Affected:= 9.0= 10.0
FedoraOperating system
Affected:= 31= 32
WebmailApplication
Affected:< 1.3.12>= 1.4.0, < 1.4.5

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check installed Roundcube version
    Locate and examine the Roundcube version file (typically found in program/include/ or the root installation directory), or view the version displayed on the Roundcube login page footer. Compare this version number against the affected ranges: < 1.3.12, or >= 1.4.0 and < 1.4.5
    Affected if The installed version falls within < 1.3.12 or >= 1.4.0 and < 1.4.5
  2. Verify attachment preview feature is enabled
    Examine the Roundcube configuration file (config/main.inc.php or config/defaults.inc.php) for the 'preview' or 'attachments_preview' setting, or check via the Roundcube web interface under Settings > Preferences > Mailbox view
    Affected if Attachment preview feature is enabled and allowing preview for email attachments
  3. Confirm XML MIME type handling in preview
    Check the Roundcube configuration for allowed MIME types in preview functionality, specifically looking for text/xml or application/xml entries in the attachment type whitelist or preview settings
    Affected if XML MIME types (text/xml or application/xml) are permitted or not explicitly blocked in the attachment preview configuration
  4. Check operating system package version (if using distribution packages)
    For Debian systems, run 'dpkg -l | grep roundcube' or 'apt show roundcube'. For Fedora systems, run 'rpm -qa | grep roundcube' or 'dnf info roundcube'. Compare against affected Debian 9.0/10.0 or Fedora 31/32
    Affected if Distribution-packaged Roundcube is installed from the affected Debian 9.0, 10.0, or Fedora 31, 32 packages

You are affected if your Roundcube version is below 1.3.12 or between 1.4.0 and 1.4.5, AND the attachment preview feature is enabled with XML MIME types permitted for preview.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.3.12 / 1.4.5 or later
Fixed in 1.3.121.4.5
Vendor patch github.com →
Interim mitigation

Upgrade Roundcube Webmail to version 1.3.12 or 1.4.5 or later. Alternatively, disable XML attachment previews or restrict allowed MIME types in the configuration.

Recommended fix High confidence

Upgrade to Roundcube Webmail 1.3.12 or 1.4.5

  1. 1. Identify your current Roundcube Webmail version by checking the program/include.php file or running 'roundcube --version' if available
  2. 2. Back up your entire Roundcube installation directory and database before proceeding
  3. 3. For Debian systems: Run 'apt update && apt install roundcube-webmail' to get the latest available package, or manually download and install the fixed version
  4. 4. For Fedora systems: Run 'dnf update roundcube' to apply the security update
  5. 5. For manual installation: Download Roundcube Webmail 1.3.12 (for 1.3.x branch) or 1.4.5 (for 1.4.x branch) from the official Roundcube repository (roundcube.net/download)
  6. 6. Extract the new version over your existing installation, preserving your configuration (config/main.inc.php and config/db.inc.php)
  7. 7. Clear any cache directories (temp/ and cache/ folders) to ensure the new code is used
  8. 8. Verify the installation was successful by logging into the webmail interface
Caveat Minor version upgrades typically have no breaking changes, but test the upgrade in a staging environment first

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Debian Linux Exploited in the wild — priority engagement
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing2.0 h
  • Review / QA1.0 h
7.0 hours of engineering $1,240
Get it fixed fast

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2020-13965 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2020-13965 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data