Perform penetration testing for the application and apply the fixes for all the vulnerabilities discovered.