A West Yorkshire Police spokesman said: "At the conclusion of the match the Cardiff supporters were detained inside the ground with a view to their own safety, and they behaved extremely well.
"Unfortunately after making their way to the waiting coaches, Leeds supporters attacked police officers, with two sustaining minor injuries.
"One injured his back after being pulled from his horse which bolted, but fortunately was retrieved, while another injured his leg.
"There were 10 arrests for public order offences."