Two persons were injured, one of them critically, in an attack by a leopard on Thursday morning in Nainital district.