Eastern equine encephalitis has been detected in mosquitoes collected from Shrewsbury, the Massachusetts Department of Public Health announced Wednesday.