These findings indicate that SFRP2+ fibroblasts may represent a common key cellular population that regulates the TME and influences prognosis in both cancer types. Here, SFRP2 is linked to cancer.