EBV infection was associated with the number of CD3+ T cells (OR = 2.91 95% CI 1.27-6.68, p = 0.012) and PD-L1 expression in TME (OR = 2.57, 95% CI 1.13–5.82, p = 0.024). This evidence concerns the gene CD274 and Epstein-Barr virus infection.