An infected website is one that has been compromised by malware, viruses, or other malicious software. These infections can spread to other websites and to the computers of users who visit them, much like how a biological pathogen spreads through a population.