The only free and comprehensive online etymological dictionary of the Spanish language
peligrar (Verb) "to be in danger"
Metathesis of 12th cent. Old Spanish periglar. A verb formed from peligro.