Through survival-hub gene selection and in vivo experiments, we confirmed that CXCL10 and CXCL11 were significantly upregulated in UC and CRC. The gene discussed is CXCL10; the disease is colorectal carcinoma.