How do I prevent XSS in direct access to AJAX/JSON APIs?
In my rich client, I escape user-provided data before rendering to prevent XSS.
The data comes from the server unescaped. That is necessary for application logic, e.g., avoiding situations where I mistakenly check “O&… Continue reading How do I prevent XSS in direct access to AJAX/JSON APIs?