Ross Wallace had given the hosts the lead on the half-hour mark, but second-half goals from Jonny Howson and Ryan Shotton turned the Sky Bet Championship match in favour of Boro, for whom Grant Leadbitter missed a penalty.
The result left Wednesday without a win in their last seven games, leading to chants of ‘We want Carlos out’ from a section of the Hillsborough crowd at the end of the match.
The hosts threatened in only the second minute when Adam Reach shot wide from inside the area. David Jones then had a free-kick deflected off-target, and Gary Hooper sent a glancing header wide from a Wallace cross.
Boro’s first effort on goal came from Martin Braithwaite, who received an incisive pass from Stewart Downing before seeing his shot saved by Joe Wildsmith at his near post. Wallace then fired a free-kick over the bar before Boro had another good opening, with Patrick Bamford directing a close-range header wide from Cyrus Christie’s cross.
The home side took the lead after half an hour, when a low cross from Reach found Hooper inside the area and he laid off for Wallace to lash low past Darren Randolph. Downing missed the target with a free-kick and then, when Braithwaite was forced wide after rounding Wildsmith, he squared the ball to Britt Assombalonga whose effort was blocked. Assombalonga threatened again before the break after finding some space inside the area, shooting just beyond the far post.
Liam Palmer went close to extending Wednesday’s lead just before the interval with a low drive which was saved by Randolph. Wednesday striker Atdhe Nuhiu failed to make proper contact with the ball when Daniel Pudil’s cross into the area found him. Wildsmith then came to his side’s rescue with a superb reaction save to keep out Braithwaite’s shot from close range.
Assombalonga did put the ball in the back of the net soon after, but Boro’s celebrations were cut short by an offside flag. Wallace, who had received some treatment a couple of minutes earlier, was taken off and replaced by Jacob Butterfield on 65 minutes.
The equaliser arrived in the 71st minute when Howson scored from long range moments after Leadbitter’s penalty – awarded following Butterfield’s clumsy challenge on Bamford – had been saved by Wildsmith down to his right. Wildsmith looked to have Howson’s shot covered, but fumbled his attempted save.
With Wednesday looking for an immediate response, Reach directed a header on target but the ball was comfortably collected by Randolph. And the winner soon arrived – at the other end – courtesy of Shotton, seven minutes from time. The defender climbed high to meet Downing’s corner and head beyond Wildsmith into the far corner of the net.