FGF18–FGFR2 signaling triggers the activation of c-Jun–YAP1 axis to promote carcinogenesis in a subgroup of gastric cancer patients and indicates translational potential. Here, FGF18 is linked to gastric cancer.