Most cervical cancers are associated with human papillomavirus (HPV), a sexually transmitted infection.