ECMS-6059: "Label" field in Template Document has XSS vulnerability

Fix description:
  - Escape XSS script when render to the UI