High macrophage and neutrophil infiltration and CXCL8 expression were associated with poor prognosis in the TCGA liver cancer dataset. Here, CXCL8 is linked to liver cancer.