Skip to content
XSS Advisory Intermediate CVE-2019-8444

Atlassian Jira WikiRenderer parser XSS vulnerability

The WikiRenderer in Atlassian Jira fails to properly sanitise image attributes, allowing an attacker to inject malicious JavaScript into a comment or worklog. This results in persistent XSS that executes when other users view the affected content.

Ben Taylor Follow

Originally disclosed on Cisco Talos

High 7.4 View original

An exploitable XSS vulnerability exists in the WikiRenderer functionality of Atlassian Jira, from version 7.6.4 to 8.1.0. A specially crafted comment can cause a persistent XSS.

Ben Taylor, on Cisco Talos

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the renderer fails to properly escape or validate image attribute values, allowing malformed HTML to be generated.

Impact

An attacker could execute arbitrary JavaScript in the context of other users viewing the comment, potentially leading to account compromise or data theft.

What the attacker needed

Authenticated user able to comment; victim views the comment

The fix

The vulnerability was fixed by the vendor in a later release.

How it was found

  1. Create an issue comment with a specially crafted image markup.
  2. The comment is rendered by WikiRenderer, producing malformed HTML.
  3. The injected JavaScript executes when the comment is viewed.

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 persistent cross-site scripting (XSS) flaw lets an attacker store harmful code in a comment. When someone else opens that comment, the code runs in their browser, potentially stealing their session or performing actions on their behalf.

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 Ben Taylor

View all

7 more disclosed reports, best first.

More from Cisco Talos

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.