Mikaela Shiffrin has earned a place on the podium of a World Cup giant slalom for the first time in two years.