Vulnerabilities of applications

Explain the vulnerabilities of applications and how they are mitigated.