Fix XSS vulnerability in instructor dashboard