[misc] Fixed possible security issue