We designed universal pegRNAs which can correct all types of G12 and G13 KRAS mutations and confirmed that the universal pegRNA can correct endogenous KRAS mutations in HEK293T/17 cells and three human cancer cell lines. This evidence concerns the gene KRAS and cancer.