PURPOSE: This phase I trial is studying the side effects and best dose of vaccine therapy and to see how well it works when given with or without imiquimod in treating patients with grade 3 cervical intraepithelial neoplasia.