Introduction
An ordinary-looking meeting invitation, delivered with no authentication, is enough to run attacker JavaScript inside a Zimbra user's authenticated webmail session. In organizations running the Classic Web Client of Zimbra Collaboration Suite with automatic invitation insertion and Calendar resource support enabled, a crafted iCalendar RESOURCE attendee address becomes a stored XSS payload that fires the moment the recipient opens the event.
Zimbra is a source-available commercial email and collaboration platform, founded in 2005 and operating under an open-core model as a wholly owned Synacor subsidiary. The vendor reports more than 200 million users across 127 countries, with customers including governments, financial institutions, universities, and service providers. The product combines email, calendars, contacts, tasks, and file sharing, and ships both a Classic and a Modern web client that share a mailbox server but use different browser code for rendering.
Technical Information
The vulnerability is classified as CWE-79, improper neutralization of input during web page generation. Rapid7 assigns the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N: a network attack of low complexity, requiring no attacker privileges, with required user interaction, changed scope, and high confidentiality and integrity impact.
Root cause
The flaw lives in how the Classic appointment view handles a calendar resource address. When an iCalendar METHOD:REQUEST invitation contains an attendee declared as CUTYPE=RESOURCE;ROLE=NON-PARTICIPANT, and the account has automatic invitation insertion plus Calendar resource/GAL support enabled, delivery creates a Calendar item. Zimbra maps the resource attendee to RES/NON, and Classic classifies the unmatched address as equipment, retaining its unencoded address text.
The unsafe rendering path runs through two files. In ZmCalItemView.js, the subject and location are HTML encoded, but the appointment template ultimately becomes active HTML through innerHTML:
el.innerHTML = AjxTemplate.expand("calendar.Appointment#ReadOnlyView", subs)
In Appointment.template.js, the equipment value reaches the Resources row and is appended as data.val without encoding. The decoded resource address is therefore inserted raw into the read-only appointment view. When the signed-in recipient double-clicks the auto-added event, the injected markup executes in the authenticated Zimbra origin.
Attack flow
- The attacker sends an iCalendar
METHOD:REQUESTmessage containing a crafted attendee declaredCUTYPE=RESOURCE;ROLE=NON-PARTICIPANT, placing active markup in the quoted local part of the resource address. - With automatic addition enabled, delivery creates a Calendar item and Zimbra classifies the unmatched address as equipment, retaining its unencoded text.
- The recipient double-clicks the resulting calendar event to open its read-only appointment view.
- The appointment template is expanded into active HTML and the unencoded resource address in the Resources row executes the injected event handler.
The researcher notes the delivery conditions this needs: the quoted RESOURCE address must survive processing along the mail path, since a stricter intermediary may normalize it. That is a delivery qualification in the research, not a validated filtering mitigation.
Impact and boundaries
The resulting JavaScript can read mailbox content and submit authenticated SOAP requests to send email or change account state. Persistent access after the browser session ends is possible only where a separate delegation vulnerability is also present; that persistence is a chained outcome, not an intrinsic capability of this CVE. The Classic appointment view is the documented vulnerable component, and the evidence does not establish the same flaw in Modern.
Proof of Concept
A public, functional proof of concept exists, discovered by Jonah Burgess of Rapid7 and published in the jburgess-r7/zimbra-vulnerability-tracker repository alongside the technical write-up.
The demonstration payload uses an <img src=x onerror=...> construct carrying alert(document.domain) in the quoted local part of the RESOURCE attendee's mailto: address:
METHOD:REQUEST
UID:CALADDRESS-RESOURCE-DEMO
ORGANIZER:mailto:[email protected]
ATTENDEE;RSVP=TRUE;PARTSTAT=NEEDS-ACTION:mailto:[email protected]
ATTENDEE;CUTYPE=RESOURCE;ROLE=NON-PARTICIPANT:mailto:"<img src=x onerror=al
ert(document.domain)>"@attacker.example
The second line is a genuine RFC 5545 folded continuation, so the word alert is split across two physical lines.
The exploit script pocs/CVE-2026-137834/classic_resource_attendee_detail_xss.py is a self-contained Python 3 program. It constructs a multipart/mixed MIME message containing a text/calendar; method="REQUEST" part, builds the VEVENT with two attendees (the victim and the malicious RESOURCE), folds the iCalendar lines per RFC 5545, and delivers over SMTP via smtplib.SMTP(...).sendmail(...). The malicious resource is generated by malicious_resource(), which wraps the JavaScript token in "<img src=x onerror={javascript}>"@{domain} while enforcing the RFC 5321 64-octet quoted local part limit. The default --javascript value is alert(document.domain).
python3 pocs/CVE-2026-137834/classic_resource_attendee_detail_xss.py \ --smtp-host mail.lab.local \ --victim [email protected] \ --uid CALADDRESS-RESOURCE-DEMO \ --organizer [email protected] \ --envelope-from [email protected] \ --resource-domain attacker.example
Exploitation requires the Classic Calendar, invitation auto-add plus Calendar resource/GAL support enabled, the quoted RESOURCE address surviving the mail path, and the victim double-clicking the auto-added event. The repository documents successful execution with before and after screenshots showing the booking invitation in Classic Calendar and alert() firing on mail.lab.local.
Detection Methods
No vendor-shipped Snort, Suricata, YARA, Sigma, or Nuclei signature was found in the reviewed sources. The working public detection comes from Rapid7's open source message inspector plus post-compromise checks. Because the exploit is an ordinary unauthenticated SMTP calendar invitation, a content-based approach fits well.
What a malicious invitation looks like
The malicious part sits inside an iCalendar ATTENDEE property marked CUTYPE=RESOURCE;ROLE=NON-PARTICIPANT, with the payload in the quoted local part of the resource's mailto: address:
ATTENDEE;CUTYPE=RESOURCE;ROLE=NON-PARTICIPANT:mailto:"<img src=x onerror=al
ert(document.domain)>"@attacker.example
Because the second line is a real folded continuation, the word alert is split across two physical lines, so a simple grep for onerror=alert over raw mail would miss it. A legitimate resource address such as a meeting room or projector has no reason to contain angle brackets, event handler attributes, or javascript:, which makes markup in this field a strong signal.
Decode before matching
Rapid7's guide warns that searching raw email misses payloads hidden by MIME encoding, calendar line folding, or XML entities. The text/calendar part may be base64 or quoted-printable, the property may be folded, and the address may be percent-encoded or HTML-entity-encoded. Any reliable hunt has to reverse each of these layers before looking for markup.
Using inspect_message.py
The tracker's detections/inspect_message.py reverses those layers for you. Run it against a saved RFC 5322 .eml file:
python3 detections/inspect_message.py evidence/message.eml
It accepts several files at once, skips files larger than --max-mib (default 50 MiB), and prints one JSON object per message including the file's SHA-256, Message-ID, From/To/Subject, parsed calendar properties, and a list of indicators. The tool never executes HTML, JavaScript, XSLT, or remote resources, so it is safe on hostile samples. For text/calendar parts it unfolds lines, splits properties without breaking quoted strings, and checks each ORGANIZER and ATTENDEE value after percent decoding and HTML unescaping it. The markup test is:
MARKUP = re.compile(r"<\s*/?\s*[A-Za-z][^>]*>|[\"']\s+on[a-z]+\s*=|\bjavascript\s*:", re.I)
The logic that ties a hit to this CVE:
if prop["name"] in ("ORGANIZER", "ATTENDEE"): decoded = html.unescape(unquote(prop["value"])) if MARKUP.search(decoded): cves = ["CVE-2026-93648"] if prop["name"] == "ORGANIZER" else ["CVE-2026-137834"] indicator("markup_in_calendar_address", cves, part=number, property=prop["name"], parameters=prop["parameters"], value=decoded)
The finding to look for is an indicator of kind markup_in_calendar_address with property set to ATTENDEE and cves containing CVE-2026-137834. Check the reported parameters for CUTYPE=RESOURCE;ROLE=NON-PARTICIPANT, which matches the published exploit. The value field holds the fully decoded payload for review. The tool also emits a calendar_identity_review indicator for any REQUEST, REPLY, or CANCEL invitation, but that relates to other Zimbra calendar forgery CVEs; ordinary invitations trigger it, so it is not evidence of this XSS.
Where to apply it and its limits
The inspector works on saved messages, so it can run against mail exported from quarantine, journaling, or archive stores, or from a user's mailbox during investigation. Focus scope on Classic Web Client users in deployments with both automatic invitation insertion and Calendar resource/GAL support enabled. Rapid7 states plainly that the inspector cannot reproduce every browser parser and cannot tell whether a recipient opened the affected view; the payload only fires when the signed-in user double-clicks the auto-added event. Preserve the original RFC 5322 message with its MIME parts and delivery headers, the full calendar parameter list, and the percent-decoded address; a screenshot will not capture the values that distinguish these attacks.
Hunting for signs the payload ran
Once the payload runs it holds the victim's authenticated session and can read mail and send authenticated SOAP requests. A payload can install a mailbox access grant, forwarding rule, or linked account and then delete the delivering message. If you suspect execution:
- SOAP log hunt:
python3 detections/hunt_logs.py --kind soap evidence/mailbox.logflagsModifyFilterRulesRequestandModifyOutgoingFilterRulesRequest, plus application password and two-factor operations. These entries also cover legitimate changes and failed requests, so check context. - Sieve forwarding rules: the web UI may not show the forwarding action, so read stored scripts directly as the zimbra user with
/opt/zimbra/bin/zmprov -l ga [email protected] zimbraMailSieveScript zimbraMailOutgoingSieveScriptand look for unexpectednotifyactions and destinations. - Linked accounts and datasources: run
/opt/zimbra/bin/zmprov -l gds [email protected]and look for unexpected OAuth contact or CalDAV sources. The output may contain credentials or tokens, so store it securely. - Persistent delegation: use the tracker's stored
loginAshunt, which searches parsedzimbraACEvalues in LDAP to find a mailbox access grant that remains present.
To build a timeline, take the invitation's UID from the inspector output and correlate it with the calendar log hunt: python3 detections/hunt_logs.py --kind calendar evidence/mailbox.log. These log lines are processing records, not proof of compromise.
Affected Systems and Versions
NVD lists ZCS 10.1.0 through 10.1.21 as affected. The researcher's more specific record extends the affected range through 10.1.22 and states that no fixed release has been established through that version. Organizations should not read installation of 10.1.22 as remediation for this CVE. Exploitation requires the Classic Web Client with automatic invitation insertion and Calendar resource/GAL support enabled, and the recipient opening the auto-added event.
Vendor Security History
Rapid7 reported more than 80 vulnerabilities during its ZCS assessment. Its related calendar and sharing research documents both remediated and outstanding findings: version 10.1.21 fixed several other XSS issues while further vendor fixes remained necessary for other findings. Those fixes should not be confused with remediation of CVE-2026-137834. Separately, CISA lists exploitation of Zimbra vulnerability CVE-2026-73570, an OS command injection issue added to its Known Exploited Vulnerabilities catalog on August 21, 2026. That establishes historical exploitation of another Zimbra vulnerability, not exploitation of the CVE assessed here.
References
- NVD: CVE-2026-137834
- Rapid7: Calendar Forgery and Stored XSS in Zimbra (Part 2)
- zimbra-vulnerability-tracker repository
- CVE-2026-137834 researcher write up
- CVE-2026-137834 write up (raw)
- PoC: classic_resource_attendee_detail_xss.py
- Detection guide: mail_and_calendar.md
- Message inspector: inspect_message.py
- Account state detection guide
- Zimbra Releases 10.1.22
- CISA Known Exploited Vulnerabilities Catalog



