extract severity from tags