fix(security): Prevent XSS in (edit|view)barmenu (refs #4874)
Merge pull request #1209 from eguaj/3.2-A4874

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