[BISERVER-11137] - Fixed XSS error

@pamval please review