Sharapova, who won the title last week at Indian Wells, will next take on Czech Klara Zakopalova for a quarter-final.
The Russian star has never won the Miami title, although she’s reached the final four times.
In hot, humid, windy weather, Vesnina started strong, breaking Sharapova to take a 3-1 lead in the opening set. Sharapova responded by winning 11 of the next 14 games to secure a straight-sets victory.
Photos: Shraddha Kapoor, Kim Sharma at 'Haseena Parkar' screening
Mumbai to Goa train: First look at the glass-top Vistadome coach
Shuttler Ashwini Ponnappa keeps it short and sexy on social media
Photos: Narendra Modi, others at Marshal Arjan Singh's funeral
Photos: Sussanne Khan and Nimrat Kaur spotted at a spa in Juhu