The Red Devils picked up an impressive come from behind win in the Premier League against Tottenham in London on Sunday.
United went 1-0 down to Heung-Min Son, before going on to win 3-1.
Fred scored the equaliser, before Cavani and Mason Greenwood scored to seal the win for the Red Devils.
Asked about Cavani, Maguire told reporters, per the club's website: "I think he had a big part to play throughout the game.
"I think his press and his movement… I think we know that the first goal he scores was great play from Paul [Pogba] and then great movement [for his second] and the finish, it's a great ball from Mason [Greenwood].
"That's what he's done throughout his career, that movement in the box is the best that I've seen and the best that I've played against. That's why he's scored so many goals throughout his career and I think the rest of the lads have lots to learn from. He deserved that goal."