Two Israelis were wounded in a stabbing attack in a supermarket near a West Bank settlement on Wednesday.

Police said a Palestinian teen entered the Rami Levy supermarket in Mishor Adumim industrial park, located near the settlement of Ma'aleh Adumim, and stabbed two people. Police said they were treating the incident as a terrorist attack.

The assailant, 16, was shot by an off-duty security guard who works at the Prime Minister's Office and sustained moderate wounds. He has been arrested, along with an employee at the supermarket and another suspect.

The victims, both men in their 50s, sustained moderate wounds in the stabbing, emergency services said. They were evacuated by Magen David Adom to Hadassah University Hospital, Ein Karem.

One of the victims is a member of the Magen David Adom paramedic who confronted the assailant.

The Shin Bet said the attacker had no prior arrests.

Prime Minister Benjamin Netanyahu said the guard who shot the assailant acted courageously.

"On my way here I spoke with the security guard who today prevented a deadly attack in Mishor Adumim," Netanyahu said at the Prime Minister's Prize for Innovation in Alternative Fuels event in Tel Aviv. "I know him; he is a guard at the Prime Minister's Office." Netanyahu said the security guard "acted with extraordinary restraint, resourcefulness, courage. I told him that we are all proud of him."

On Monday, an Israeli civilian was lightly wounded after she was stabbed at Gush Etzion Junction. Later on Monday, an Israeli bus traveling near the Shilo junction was attacked and sustained damage; Israeli security forces were checking whether the bus was hit by gunfire or stones.

After a brief pursuit for the stabber in the first incident, Israeli security forces shot the alleged attacker, a woman said to be about 20 years old. She was evacuated to Hadassah University Hospital, Ein Karem, for treatment, according to paramedics.