CVE-2026-137840 — CWE-79
A stored cross-site scripting vulnerability in the document preview functionality of Zimbra Collaboration Suite (ZCS) allows an ordinary mailbox user to execute JavaScript in another user's browser. Document archive import accepts an attacker-controlled creator identity from exported metadata, and restDocumentPreview.tag writes that stored creator into HTML without encoding it. An attacker can import and publicly share a crafted document, then induce a signed-in victim to open its preview URL. The script executes in the Zimbra origin and can read mailbox data or perform authenticated actions. ZCS 10.1.0 through 10.1.21 are affected.
A stored cross-site scripting vulnerability in the document preview functionality of Zimbra Collaboration Suite (ZCS) allows an ordinary mailbox user to execute JavaScript in another user's browser. Document archive import accepts an attacker-controlled creator identity from exported metadata, and restDocumentPreview.tag writes that stored creator into HTML without encoding it. An attacker can import and publicly share a crafted document, then induce a signed-in victim to open its preview URL. The script executes in the Zimbra origin and can read mailbox data or perform authenticated actions. ZCS 10.1.0 through 10.1.21 are affected.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-137840
CVSS 8.7/10 · HIGH · 03.12.2026
CWE: CWE-79
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Cross-Site Scripting (XSS)
Summary: A stored cross-site scripting vulnerability in the document preview functionality of Zimbra Collaboration Suite (ZCS) allows an ordinary mailbox user to execute JavaScript in another user's browser. Document archive import accepts an attacker-controlled creator identity from exported metadata, and restDocumentPreview.tag writes that stored creator into HTML without encoding it. An attacker can …
⚡ ATTACK VECTOR
Network / Remote (AV:N) · low-privilege account (PR:L) · user interaction required (UI:R) · low attack complexity (AC:L).
⚠️ Scope changes (S:C) — impact can cross security boundaries.
🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; pivot to other systems possible.
🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Add CSP headers, HTML-encode all user input.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]
FOFA Query