WSO2 Data Analytics Server 3.1.0 has XSS in carbon/resources/add_collection_ajaxprocessor.jsp via the collectionName or parentPath parameter.
https://github.com/cybersecurityworks/Disclosed/issues/15
https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-6151
https://docs.wso2.com/display/Security/Security+Advisory+WSO2-2017-0265
https://cybersecurityworks.com/zerodays/cve-2017-14651-wso2.html