Jamal Fyfield scored an injury-time equaliser as play-off chasing York battled back to hold Mansfield.
Matt Green gave the visitors a first-half lead from close range and Aman Verma made it 2-0 in the 72nd minute from the edge of the area.
Matty Blair gave York hope with 13 minutes remaining with a close-range finish into the bottom corner.
And Fyfield rescued a point and kept City in the top five with a volley from 12 yards out.
VIEWS FROM THE DRESSING ROOM
York City manager Gary Mills told BBC Radio York:
"We're going a goal down and we've gone two down today and we've had to work hard to come back. We can't keep doing that.
"We're working hard but it's just not happening for us the way we want it at the moment and we're having to dig in there to get a point.
"It's a point. We know we need to get threes. But the period we're going through at the moment, we're having to settle for a point."
Mansfield Town boss Paul Cox told BBC Radio Nottingham:
"It feels like we've lost. I thought we came here and worked extremely hard and our shape was good.
"The two goals we scored were excellent and, with a two-goal lead with 20 minutes to go, I never felt York were going to break us down, even though they had a lot of possession.
"And then we give two of the softest goals away you can imagine."
York City 24 Ingham 02 Oyebanjo 03 Meredith 05 McGurk (Fyfield - 31' ) 06 Parslow 08 Kerr 15 Boucaud 17 Blair 26 McLaughlin 10 Chambers (Pilkington - 66' ) 11 Henderson (Reed - 55' ) Substitutes 16 Fyfield 12 Pilkington 18 Moke 20 Challinor 07 Reed Mansfield Town 01 Marriott Booked 06 Riley 16 O'Neill Booked 17 Sutton 30 Freeman Booked 11 Murray 21 Howell Booked (Aman - 46' ) 35 Roberts Booked (Stevenson - 89' ) 10 Green (Worthington - 87' ) 15 Dyer 24 Meikle Substitutes 23 Redmond 04 Worthington 08 Stevenson 34 Aman 07 Briscoe