It could be a coulpe of things , check this 1st : the fan behind the radiator might not be working properly it should come on when the car is setting still and running , this fan keeps it cool when the car is not moving ,
yes the thermostat could have gone bad ,
its not the water pump or it would get hot all the time not just when sitting






