Scott Parker’s men looked to be cruising to a comfortable three points when they took a deserved two-goal first-half lead, thanks to strikes from Josh Brownhill and Maxime Esteve.
But Cardiff reduced the deficit on the stroke of half-time – becoming the first side to score a league goal past Burnley since December 21 – to set up a nervy second-half.
The Clarets had to ride their luck late on as they came under pressure, but ultimately they held on for a 2-1 win to maintain the pressure at the top of the Championship table.
Here’s how Burnley’s players rated:

5. Maxime Esteve - 7/10
Bagged his first ever Burnley goal from close range but had to do plenty of defending. Much of it was uncomfortable at times. Photo: Dan Istitene

6. Lucas Pires - 6/10
Did well to carry on after picking up an early knock. Fairly reserved offensively. Booked for time wasting late on. Photo: Ryan Pierse

7. Josh Cullen - 7/10
Kept things ticking as he always does. Came close to adding a third when his low drive was pushed around the post. Photo: Dan Istitene

8. Josh Brownhill - 7/10
Mr Reliable gave Burnley the lead with his 11th of the season. Could have had a penalty and helped the team grind out the win. Photo: Dan Istitene