The internal language of a topos is higher order intuitionistic type theory (or logic). Here the higher order simply refers to allowing function types.
In mathematical logic we have higher-order logics where quantification is allowed not just sets, but powers of sets.
Are these the same notion of higher-order here?
Basically yes. See Introduction to Higher-Order Categorical Logic by Lambek and Scott 1988 for the details.