The Catholic Church teaches nothing of the sort. Who told you this?
Apparently annalex (presumably a Catholic) disagrees ...
“And therefore there is no salvation outside of the One Holy Catholic and Apostolic Church that He founded.”
Perhaps your dispute is not with us Protestants, but with fellow Catholics.
SnakeDoc