Our findings suggest possible roles of TP53 and KRAS as biomarkers for cancer and dysplasia screening among patients with IBD and may also provide targeted therapy in patients with IBD-CRC. Here, KRAS is linked to cancer.