Those Popes for whom socialism was a current phenomenon have condemned it, some more strongly than others. John Paul I didn't have a chance to comment on the topic ...
That’s right.
Pope Francis is well acquainted with, and has condemned Liberation Theology. That is a good thing.