The damage is not done so much by the water (even dirty water) as by the electricity passing through it. This rapidly causes corrosion. It can also allow the electricity to find damaging paths through sensitive electronic components.