Does foam hurt electrical wires in the wall?
No. But that being said nearly any building product can do damage to other components if installed improperly. Walltite spray foam has been extensively tested by Underwriters Laboratory of Canada (ULC) to confirm the affects on non-metalic covered cables. When installed to the ULC standard tested no harm will be done with CSA certified wiring and electrical components.