The primary cause of CIN is a persistent infection with certain types of the Human Papillomavirus (HPV), particularly high-risk strains like HPV 16 and HPV 18. Other risk factors include smoking, having a weakened immune system, and multiple sexual partners.