It’s simply telling you that you used yahoo search to reach an infected site. The site is infected not the tool used to reach it.