Our study reveals the potential value of CLDN18.2 for tumor prognosis and targeted therapy in various cancers, especially upper gastrointestinal tract cancers. Here, CLDN18 is linked to cancer.