Skip to content
XSS Write-up Intermediate

Stored XSS in Zendesk Marketplace App: “Auto Merge Duplicate Ti

A third-party Zendesk Marketplace app rendered the ticket subject without sanitisation inside a sidebar notification, allowing stored JavaScript to execute. An attacker could send emails with a crafted subject to a support address and run code in the agent's app iframe, enabling data exfiltration and UI deception.

Mahmoud Abd Alkarim Follow

Published on medium.com

📢 Update (2025–07–01): The vendor has released a fix for this vulnerability in version 2.4.4. Please update immediately to avoid exposure.

Mahmoud Abd Alkarim, on medium.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

Likely the app inserted the ticket subject into the DOM without escaping or sanitising it, so HTML and script content in the subject executed.

Impact

Arbitrary JavaScript could run inside the Zendesk agent interface without user interaction, enabling targeted phishing, UI deception and data exfiltration within the app iframe, though the sandbox prevented escaping the iframe or accessing parent-domain data.

What the attacker needed

Zendesk instance with the vulnerable app installed; Ability to send email to the support address; Victim is a Zendesk agent viewing the sidebar

The fix

The vendor released a fix in version 2.4.4.

How it was found

  1. Set up a Zendesk subdomain and install the same marketplace app version.
  2. Send three emails to the support address to create multiple tickets.
  3. Give each email a unique but similar subject line to trigger duplicate detection.
  4. Embed a stored XSS payload in the subject line of each ticket.
  5. Wait for the app to show the sidebar notification, which executes the payload.

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 a support ticket arrives, its subject line is shown in a small sidebar panel. The app inserted that subject directly into the page without cleaning it, so if the subject contained code, the browser ran it. This let an attacker run their own JavaScript inside the support agent's screen, though only within that small panel.

What is XSS?

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

More by Mahmoud Abd Alkarim

View all

1 more disclosed report, best first.

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.