“No Salvation Outside of the Church” remains a Catholic Dogma, as Vatican II affirmed. However, it must be understood in the way the Church understands in and has interpreted it in its documents and councils.
In addition, a good quote from Pope Pius IX (1846-1878) where he said
“”"For, it must be held by faith that outside the Apostolic Roman Church, no one can be saved; that this is the only ark of salvation; that he who shall not have entered therein will perish in the flood; but, on the other hand, it is necessary to hold for certain that they who labor in ignorance of the true religion, if this ignorance is invincible, will not be held guilty of this in the eyes of God. Now, in truth, who would arrogate so much to himself as to mark the limits of such an ignorance, because of the nature and variety of peoples, regions, innate dispositions, and of so many other things? For, in truth, when released from these corporeal chains ‘we shall see God as He is’ (1 John 3.2), we shall understand perfectly by how close and beautiful a bond divine mercy and justice are united; but as long as we are on earth, weighed down by this mortal mass which blunts the soul, let us hold most firmly that, in accordance with Catholic teaching, there is “one God, one faith, one baptism” (Eph. 4.5); it is unlawful to proceed further in inquiry.
“But, just as the way of charity demands, let us pour forth continual prayers that all nations everywhere may be converted to Christ; and let us be devoted to the common salvation of men in proportion to our strength, ‘for the hand of the Lord is not shortened’ (Isa. 9.1) and the gifts of heavenly grace will not be wanting to those who sincerely wish and ask to be refreshed by this light.”