Police say three assailants were killed after the shooting outside the hilltop known as the Temple Mount.
Two of the Israeli men hurt are in a critical condition, medics say.
There has been a wave of gun, knife and vehicle attacks on Israelis by Palestinians or Israeli Arabs since late 2015.