
The Stags struck from three second half set pieces with Martin Riley (71 minutes), Matt Rhead (87) and Ryan Tafazolli (90+2) all heading home.
They are now 10th in the table, six points off the play-off places with four games to go, starting at Accrington this Friday.
Picture slideshow action by Lizzi Lathrop.