Our investigation revealed that CD8+ T cell infiltration was higher in head and neck squamous cell carcinoma (HNSC) and uterine corpus endometrial carcinoma (UCEC) patients with wild-type TP53 than in those with mutant TP53. The gene discussed is TP53; the disease is head and neck squamous cell carcinoma.