Alfresco Enterprise before 5.2.7 and Alfresco Community before 6.2.0 (rb65251d6-b368) has XSS via an uploaded document, when the attacker has write access to a project.
https://issues.alfresco.com/jira/browse/ALF-22110
https://gitlab.com/snippets/1937042
http://packetstormsecurity.com/files/156599/Alfresco-5.2.4-Cross-Site-Scripting.html