Skip to content
XSS Disclosed report Intermediate

A Stored XSS in Jira Service Desk "Reports" Via "Requests resolved"

A non-authenticated user could inject a script into the question field of a public Jira Service Desk widget, and the script executed in the admin's 'Requests resolved' report when the admin clicked the graph. This allowed the attacker to run arbitrary JavaScript in the admin's browser.

norwin_boniao Follow

Originally disclosed on Bugcrowd

Bounty$600 Medium View original
  • Accepted in 12 days
  • Fixed in 17 days
  • Disclosed after 3.3 years

Summary by Atlassian

A Stored XSS Vulnerability in Jira Service Management

Summary by norwin_boniao

A Non-Authenticated users can execute Stored XSS attack using the Widget Chat in Service Desk when Inserting malicious script in Question field , The script executes in Requests resolved area.

Report details

  • Submitted

    11 Jun 2020 18:15:42 UTC

  • Target Location

    Jira Service Management Cloud (bugbounty-test-<bugcrowd-name>.atlassian.net)

  • Target category

    Web App

  • VRT

    Cross-Site Scripting (XSS) > Stored > Non-Privileged User to Anyone

  • Priority

    P3

  • Bug URL

    Empty

  • Description

    Good Day:

    Please allow me to report this Stored XSS in Jira Service Desk "Reports" Via "Requests resolved". Where in Non-Authenticated users can execute a malicious script against Admin.

    Step To Reproduce: Step1. As admin enables the widget for your Service Desk. https://norwin1.atlassian.net/servicedesk/admin/TESF/addon/com.atlassian.servicedesk.embedded__settings

    Set up the widget so that it will go live publicly.

    Step2. when it is now live: a malicious user can execute an attack via asking a question with an xss payload norwin"><img src="x" onerror="alert(document.domain)"></img> putting it inWhat is your question field and send it.

    Step3. Admin now received the question and mark it as resolved.

    Now navigate tohttps://norwin1.atlassian.net/jira/servicedesk/projects/TESF/reports/kb-requests-resolved Reports then go to Request Resolved

    now click the graph.

    Step. XSS payload executed.

    Thanks, Norwin

The original report as published on Bugcrowd, by Atlassian. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

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

How it worked

Root cause

Likely the application failed to properly sanitise or encode user-supplied input from the widget's question field before displaying it in the 'Requests resolved' report.

What the attacker needed

Admin enables public widget; Attacker submits question with payload; Admin marks question as resolved; Admin views report and clicks graph

How it was found

  1. As admin, enable the widget for the Service Desk and set it to go live publicly.
  2. As a malicious user, submit a question containing an XSS payload in the 'What is your question' field.
  3. As admin, receive the question and mark it as resolved.
  4. Navigate to the Reports section and go to 'Request Resolved'.
  5. Click the graph to trigger the stored XSS 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 report has not been written yet. The Original tab links to the source.

A stored cross-site scripting (XSS) flaw lets an attacker save a small piece of code (a script) on a website. When an administrator later views the page that shows that saved content, the script runs in the admin's browser, potentially letting the attacker act as the admin.

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