Methods: Bioinformatics was used to detect the expression of XCL2, the relationship between survival time and XCL2 in BLCA patients, the mutational status of XCL2, the role of XCL2 in the tumor immune microenvironment, and the sensitivity of XCL2-targeted drugs in 33 cancers. The gene discussed is XCL2; the disease is cancer.