Xenotransplantation is considered a solution for the shortage of organs, and pigs play an indispensable role as donors in xenotransplantation. The biosecurity of pigs, especially the zoonotic viruses carried by pigs, has attracted attention. This review introduces several viruses, including porcine endogenous retroviruses that are integrated into the pig genome in a DNA form, herpesviruses that have been proven to clearly affect recipient survival time in previous xenotransplant surgeries, the zoonotic hepatitis E virus, and the widely distributed porcine circoviruses. The detail virus information, such as structure, caused diseases, transmission pathways, and epidemiology was introduced in the current review. Diagnostic and control measures for these viruses, including detection sites and methods, vaccines, RNA interference, antiviral pigs, farm biosecurity, and drugs, are discussed. The challenges faced, including those posed by other viruses and newly emerged viruses, and the challenges brought by the modes of transmission of the viruses are also summarized.