Explain the OWASP Top 10 and how you would mitigate vulnerabilities such as XSS, SQLi, CSRF, and SSRF.