Skip to content
XSS Write-up Beginner

Stored XSS via Alternate text at zendesk support

A stored cross-site scripting vulnerability existed in Zendesk's rich text editor because the 'alternative text' field for a URL was not properly sanitised. An attacker could inject a script payload into this field, which would execute when the link was clicked.

Hariharan.s Follow

Published on medium.com

Hariharan.s

Hariharan.s, 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 application failed to sanitise user input in the 'alternative text' field of the rich text editor's URL dialog, allowing script injection.

What the attacker needed

A free account; victim clicks a link

How it was found

  1. Create an account and log in.
  2. Open the rich text editor and insert a URL.
  3. Enter a random URL and put an XSS payload in the 'alternative text' field.
  4. Click OK to save the link.
  5. Click the link to trigger 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.

This report describes a stored cross-site scripting (XSS) bug. XSS lets an attacker sneak malicious code into a website so that it runs in other users' browsers. Here, the 'alternative text' field of a link in a text editor didn't check what was typed, so a script could be saved and later run when someone clicked the link.

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 Hariharan.s

View all

3 more disclosed reports, best first.

More from Zendesk

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.