The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unsanitised Issue URL leaking into document.title

Ijtaba Hussain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 6, 2019

Visiting a link such as the below will result in me reaching the correct ticket (IC-6948) - which suggests the input is being sanitised, however the window title (javascript document.title) is set to the full unsanitised input from the URL window:

https://my.jira.instance/browse/IC-6948%3C%2Ftitle%3E%3Cscript%20type%3D%22text%2Fjavascript%22%3Ealert(%22hellow%22)%3C%2Fscript%3E

This has been tested with version below:
Atlassian JIRA Project Management Software (v7.6.4#76006-sha1:ca83f0e) 

I've attempted to do a XSS (Cross Site Scripting) attack with this, but I wasn't successful in closing the <head><title> tag, which I need to do before I can open a script tag in order to inject further input into the html page

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Ijtaba Hussain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 6, 2019

Unsanitised Issue URL leaking into document.title.png

Screenshot attached