Skip to content
XSS Write-up Intermediate

research

A stored cross-site scripting flaw existed in Atlassian's media API when a Word 97-2003 document containing a javascript: hyperlink was uploaded and opened in an iOS browser. An attacker could execute arbitrary script in the context of a public Confluence page without authentication.

Omar Espino Follow

Published on omespino.com

Hi everyone It’s been a while since my last post but I’m back, I want to tell you a short story about the Atlassian bug bounty program and why you can always check the basic payloads because you will surprise that some times will work:

Omar Espino (@omespino), on omespino.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

Impact

Stored XSS could let an attacker run arbitrary script when a victim viewed the page, but the report only demonstrates it on iOS browsers and does not show theft of data or account takeover.

What the attacker needed

IOS device with a browser; public Confluence page allowing anonymous comments; victim opens the document link and taps the hyperlink

The fix

The issue was fixed and rewarded according to the report timeline.

How it was found

  1. Create a Word 97-2003 document containing a hyperlink whose address begins with javascript:.
  2. Upload the document as a comment on a Confluence page that allows anonymous comments.
  3. Copy the direct link to the uploaded document.
  4. Open that link in an iOS browser and tap the hyperlink to trigger the script.

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.

Cross-site scripting (XSS) is when a website runs code an attacker planted, as if it were the site's own. Here, a document uploaded to a public page contained a link that started with 'javascript:' instead of a normal web address, and on iPhones the browser ran that code when the link was tapped. Because the page was public, anyone could view it without logging in.

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 Omar Espino

View all

15 more disclosed reports, best first.

More from Atlassian

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.