Michael Carrick's side fell behind to the League One Grecians before being pegged back to 2-2 in the second half as Emmanuel Latte Lath sealed their passage into the last eight from the penalty spot.
Ryan Trevitt produced a stunning strike to give Exeter the lead inside 15 minutes – a lead they would hold going into half-time.
Carrick's side started the second half fast and were level thanks to an even better strike from the impressive Morgan Rogers.
Boro hit the front before the hour when Sam Silvera curled in another excellent goal before Trevitt was at it again to equalise – his effort from distance clipping Paddy McNair on its way to goal.
But the Championship side saw off their League One counterparts when Rogers was pulled over in the box with Latte Lath converting.
And here’s how Boro rated: