People died from the polio vaccines; that was well worth the risk nonetheless.
Polio is spread by less intimate contact then HPV.
If people had only caught Polio by “bumpin’ ugly” Jonas Salk wouldn’t have worked himself half-to-death to develop a vaccine.