Cross-site scripting (XSS) vulnerability in Atlassian Confluence before 5.8.17 allows remote attackers to inject arbitrary web script or HTML via the PATH_INFO to rest/prototype/1/session/check.
https://www.exploit-db.com/exploits/39170/
http://www.securityfocus.com/archive/1/537232/100/0/threaded