Fix for 3 vulnerabilities

Resolved three security vulnerabilities to enhance application security.