What two countries were involved in the XYZ Affair?

The two countries involved in the XYZ Affair were France and the United States.