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. Here, CD8A is linked to head and neck squamous cell carcinoma.