The authorities confirmed there were injuries. The shooting happened around 11:30 a.m. local time at a synagogue near San Diego.