Fix XSS vulnerability #5171177