Mitigation and prevention of injection vulnerabilities