2026-12-03 12:11CVE-2026-137840rapid7
PUBLISHED5.2CWE-79

Zimbra Collaboration Suite Document Preview Stored Cross-Site Scripting via Imported Document Creator Metadata

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.

Problem type

Affected products

Zimbra

Zimbra Collaboration Suite (ZCS)

<= 10.1.21 - AFFECTED

References

GitHub Security Advisories

GHSA-w663-mp8p-qpcg

A stored cross-site scripting vulnerability in the document preview functionality of Zimbra...

https://github.com/advisories/GHSA-w663-mp8p-qpcg

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.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-137840
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-137840",
    "assignerOrgId": "9974b330-7714-4307-a722-5648477acda7",
    "assignerShortName": "rapid7",
    "dateUpdated": "2026-12-03T12:11:24.503Z",
    "dateReserved": "2026-11-27T10:35:54.830Z",
    "datePublished": "2026-12-03T12:11:24.503Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "9974b330-7714-4307-a722-5648477acda7",
        "shortName": "rapid7",
        "dateUpdated": "2026-12-03T12:11:24.503Z"
      },
      "datePublic": "2026-12-02T15:13:00.000Z",
      "title": "Zimbra Collaboration Suite Document Preview Stored Cross-Site Scripting via Imported Document Creator Metadata",
      "descriptions": [
        {
          "lang": "en",
          "value": "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.",
          "supportingMedia": [
            {
              "type": "text/html",
              "base64": false,
              "value": "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."
            }
          ]
        }
      ],
      "affected": [
        {
          "vendor": "Zimbra",
          "product": "Zimbra Collaboration Suite (ZCS)",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "10.1.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "10.1.21"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')",
              "cweId": "CWE-79",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/jburgess-r7/zimbra-vulnerability-tracker",
          "tags": [
            "related"
          ]
        },
        {
          "url": "https://rapid7.com/blog/post/ve-calendar-forgery-and-stored-xss-in-zimbra-part-2",
          "tags": [
            "related"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "LOW",
            "userInteraction": "REQUIRED",
            "scope": "CHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "NONE",
            "baseScore": 8.7,
            "baseSeverity": "HIGH"
          }
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Jonah Burgess (CryptoCat), Senior Security Researcher, Rapid7",
          "type": "finder"
        }
      ]
    }
  }
}