Viral warts are caused by human papillomaviruses. They are contagious in nature. Infection typically occurs when basal cells of the epidermis of the skin in the host are exposed to infectious virus through a disturbed epithelial barrier as would occur during sexual intercourse or after minor skin abrasions. So there is possible chance of transmission through close contact or even indirect contact through sharing of objects etc.