In conclusion, CSMD2 could serve as a promising prognostic, diagnostic and immune biomarker in pan-cancer. The gene discussed is CSMD2; the disease is cancer.