A pilot and two students who were on board were being treated for injuries sustained after they jumped out of the plane before it crashed.