Add filtering to protect against XSS attacks