In this study, we identified STAT3/CDK2/4/6 as an oncogenic prognosticator of cancer-associated fibroblasts and tumor immune infiltrations. This evidence concerns the gene STAT3 and cancer.