In conclusion, this study identified STAT3/CDK2/4/6 as an oncogenic prognosticator of cancer-associated fibroblasts and tumor immune infiltrations, and poor prognosis of multiple cancer cohorts. The gene discussed is CDK2; the disease is cancer.