Edinson Cavani rounded the goalkeeper early on to open the scoring but Raphael Guerreiro drove in the equaliser for the visitors.
Zlatan Ibrahimovic restored PSG's lead with a tap in before Layvin Kurzawa volleyed home a third.
The win means PSG remain 24 points clear at the top of the table.
Paris St-Germain set a new Ligue 1 record as they extended their unbeaten run to 33 matches with victory over Lorient.