Hard to say but likely a bacterial ulcer. Since the frog is eating, I would tend to rule out septicemia. You need to take it to a vet and get this treated with antibiotics asap.