It is a cancer vaccine, bot a vaccine against STDs.
It is a vaccine for a virus, HPV or human papillomavirus which is only transmitted through sexual contact.
It is not a ‘cancer vaccine’ because there is no such thing. Vaccines are for viruses.