Skip to content
XSS Write-up Beginner

Stored Cross-Site Scripting (XSS) in Zimbra version 8.8.15_GA_4059 CVE-2022-41348

The Zimbra web client did not properly encode the name of a Conversation when displaying it to users. An attacker could create a conversation with a malicious name, and when an invited user joined, JavaScript would execute in their browser.

Guillaume Jacques Follow

Published on synacktiv.com

Stored Cross-Site Scripting (XSS) in Zimbra version 8.8.15GA4059 CVE-2022-41348

Guillaume Jacques, Melvil Guillaume, Kévin Tellier, on synacktiv.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The conversation name was not properly encoded before being displayed to users.

Impact

An attacker could execute JavaScript in the browser of a user who joins the malicious conversation, potentially stealing data or performing actions on their behalf.

What the attacker needed

Attacker can create a conversation; victim is invited and joins the conversation

How it was found

  1. Create a new conversation with a name containing a script.
  2. Invite another user to the conversation.
  3. The invited user receives a notification.
  4. The invited user clicks to join the conversation.
  5. The script executes in the invited user's browser.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When you type text into a website, the site should display it safely so it can't run as code. Here, the conversation name was shown without that safety, so a name containing a script could run in another user's browser. This is called stored cross-site scripting because the harmful script is saved and later shown to others.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Zimbra

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.