The problem is that viruses are contagious, and some types of viruses occasionally reach the target genome near oncogenes, thus increasing the risk of cancer. Plasmids do not have this risk, but they cannot replicate themselves efficiently in cells, which is very important for achieving the ultimate goal of introducing the target gene.