These findings suggest that SNPs in DNA repair genes, particularly XPC rs2228001, play a crucial role in modulating the prognosis of CCA. Here, XPC is linked to cholangiocarcinoma.