Genital warts are caused by human papillomavirus (HPV), but the types that cause warts rarely become cancerous. These are referred to as low-risk HPV types.