fix(security): Prevent XSS in (edit|view)barmenu (refs #4996)
Merge pull request #1295 from eguaj/3.3-A4996

fix(security): Prevent XSS in (edit|view)barmenu (closes #4996)