Warts are highly contagious and can be transmitted through direct skin-to-skin contact or indirectly through contaminated surfaces. For example, walking barefoot in public showers or sharing personal items like towels can facilitate the spread of the virus.