Cross-site scripting (XSS) vulnerability in Atlassian Confluence before 5.10.6 allows remote attackers to inject arbitrary web script or HTML via the newFileName parameter to pages/doeditattachment.action.
https://www.exploit-db.com/exploits/40989/
http://www.securityfocus.com/bid/95288
http://seclists.org/fulldisclosure/2017/Jan/3
http://seclists.org/fulldisclosure/2017/Jan/12
http://packetstormsecurity.com/files/140363/Atlassian-Confluence-5.9.12-Cross-Site-Scripting.html