From what I've read, even being vaccinated for diseases like Polio, it is possible to contract it and spread it. It's when there is herd immunity through vaccination, that even when it is contracted or passed, the immune system knows about it and protects against paralysis. Vaccinated individuals contracting polio leads to no symptoms (or mild gastro symptoms), but the ability to spread to unvaccinated individuals.