Matt Doherty struck in each half, on either side of a 58th-minute goal from on-loan Bournemouth striker Benik Afobe, as the league leaders earned a victory after taking just five points from their previous five games.
But two goals in five second-half minutes from James Chester and Lewis Grabban were added to by Birkir Bjarnason's late fourth.
Cardiff are also in a strong position to return to the top flight after a 3-1 win at Brentford.
The Bluebirds have a tough week ahead with visits to Brentford and Derby County to negotiate, but they need just three points between the two games to ensure they head into the worldwide break with second place still in their grip.
Sol Bamba, Callum Paterson and Kenneth Zahore scored after Neal Maupay had opened the scoring for Brentford. "I am not confident of anything in this league because we have some hard games coming up".
Mizoram Seeks Talks with Assam to Normalise Border Situation
Mizoram understudies' bodies requested that Assam Police work force leave the debated zone by tomorrow. The land was donated to the student organisation by his widow, he said.
"We don't get carried away because, if you do, you get kicked in the teeth in the Championship", said the Cardiff manager, Neil Warnock.
"All the boys are enjoying it, though".
Sheffield United closed the gap to the play-off places to two points after a 2-0 win over second-bottom Burton. The Blades kept their play-off hopes alive through Enda Stevens and starlet David Brooks. They made us come up from London when they said the game was on.
Things are not looking quite so rosy for Barnsley, who remain outside the bottom three but only by three points after Norwich's Josh Murphy cancelled out another Oliver McBurnie goal in a 1-1 stalemate.
Efforts from Markus Henriksen, Harry Wilson and Jarrod Bowen have the Humberside club now nine points clear of the drop zone as they look to avert a second consecutive relegation.