COR-338: Fix vulnerabilities related to XML parsing

https://jira.exoplatform.org/browse/COR-338