Upvote:1
Stansted is a pretty small airport, with a single terminal. 2 hours should not be a problem, assuming the flights are not significantly delayed.
This assumes you don't have checked-in baggage. If you do, then it is probably too short as you will have to collect and re-check in.