Boro found themselves three goals down at half-time after goals from Callum O’Dowda, Mark Harris and Perry Ng.
The hosts did threaten to stage a late comeback as substitute Duncan Watmore pulled a goal back 14 minutes from time, before Rodrigo Muniz reduced the deficit further.
Still, it was too little too late as Boro suffered their fourth defeat of the season.
Here’s how each Boro player fared:

5. Isaiah Jones - 6
Gave Boro attacking impetus in the second half, even if his crosses were erratic at times. Set up Watmore for Boro’s first goal. 6 Photo: Alex Burstow

6. Jonny Howson - 4
Kept looking for the ball but endured a first half to forget. Was caught in possession for Cardiff’s second goal. 4 Photo: Alex Burstow

7. Matt Crooks - 4
Lost the ball in midfield which allowed Cardiff to open the scoring. Created a few overloads on the right in the second half but couldn’t make a significant impact. 4 Photo: Getty Images

8. Alex Mowatt - 3
Struggled to impose himself and was anonymous in midfield. Subbed off at half-time. 3 Photo: Getty Images

