CVE-2018-6882
Medium · 6.1 CISA KEV · ransomwareCVSS
6.1
EPSS
29.8%
Published
Mar 27, 2018
CISA due date
May 10, 2022
Cloudanix analysis
A flaw in the email system lets attackers hide harmful code inside attachments so that opening a message can silently give them access to the victim's account and files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- XSS
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits injection of arbitrary script or HTML into the attachment link rendering path by supplying a malicious Content-Location header, causing the script to execute in the context of another user's mailbox view.
Why it matters to the business
Successful exploitation can result in theft of session tokens, unauthorized access to email and attachments, and follow-on ransomware deployment inside the collaboration platform, leading to data loss and operational disruption.
How an attack unfolds
An attacker crafts an email containing an attachment whose Content-Location header includes executable script, sends it to a target mailbox; when the recipient opens the message the script executes in the browser context, enabling cookie theft or further payload delivery. The vulnerability has been observed in active exploitation campaigns including ransomware operations.
How to fix it
Upgrade Zimbra Collaboration Suite to version 8.7 Patch 1 or 8.8.7 (or later maintenance releases) as soon as possible; apply vendor security patches immediately given confirmed KEV status and ransomware usage.
How to confirm the fix worked
Verify installed build numbers against the fixed releases; retest attachment rendering with a crafted Content-Location header to confirm script execution is blocked.
Typical attack path
- Attacker prepares email with attachment and malicious Content-Location header
- Email is delivered to target Zimbra mailbox
- Victim opens the message and triggers attachment link rendering
- Script executes in victim browser, exfiltrates session data or installs follow-on malware
- Attacker uses stolen credentials or foothold for ransomware deployment
How to detect it
Review mail server logs and proxy access logs for messages containing Content-Location headers with suspicious values; correlate attachment open events with subsequent unexpected outbound requests or session anomalies.
- Content-Location:.*javascript:
- Content-Location:.*<script
- ZmMailMsgView.getAttachmentLinkHtml
What your security team should do
- Apply the vendor patches to all instances before any other action
- Scan historical mail logs for Content-Location headers containing script tags or javascript: URIs
- Enforce strict attachment preview policies and disable HTML rendering where feasible until patched
- Monitor KEV compliance dashboards for continued exposure after the published remediation deadline
The record
Cross-site scripting (XSS) vulnerability in the ZmMailMsgView.getAttachmentLinkHtml function in Zimbra Collaboration Suite (ZCS) before 8.7 Patch 1 and 8.8.x before 8.8.7 might allow remote attackers to inject arbitrary web script or HTML via a Content-Location header in an email attachment.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-62990 Shopper is a Headless e-commerce Admin Panel. CWE-79
- CVE-2026-117645 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')… CWE-79
- CVE-2026-94175 Unauthenticated Cross Site Scripting (XSS) in All In One Login <= 2.4.1 versions. CWE-79
- CVE-2026-7004 WIT SynApps Runtime through 1.4.11 contains a pre-authentication reflected cross-site… CWE-79
- CVE-2026-54855 Unauthenticated Cross Site Scripting (XSS) in Profile Builder <= 4.0.5 versions. CWE-79
- CVE-2026-48201 Unauthenticated Cross Site Scripting (XSS) in Fast Velocity Minify <= 3.5.7 versions. CWE-79
- CVE-2026-39739 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')… CWE-79
- CVE-2026-39786 Unauthenticated Cross Site Scripting (XSS) in BA Book Everything <= 1.8.33 versions. CWE-79