XSS Prevention Guide: Escaping, CSP, and Trusted Types