UN chief Ban Ki-moon has warned Israelis and Palestinians they are at a "dangerous abyss" and must act quickly to calm nearly three weeks of unrest before it spirals further out of control.
The stark comments came as the UN secretary general made an unannounced visit to Jerusalem on Tuesday (local time) to try to ease tensions that have led to mounting international concern.
As he met Israeli Prime Minister Benjamin Netanyahu, Ban also spoke of the danger of allowing an escalation "into a religious conflict with potential regional implications" and urged efforts to ensure that did not occur.
Violent protests and a wave of Palestinian gun, knife and car-ramming attacks against Israelis have raised fears of a full-scale Palestinian uprising.
Even as Ban visited, another stabbing and a car attack occurred in the occupied West Bank, wounding three Israelis. Both alleged attackers were shot dead.
And after his remarks, Israeli troops shot dead two Palestinians in a stabbing attack on their post in Hebron in which one soldier was slightly wounded.
Fresh clashes also erupted along the Gaza Strip border, leaving one Palestinian dead from Israeli fire and five others wounded.
"My visit reflects the sense of global alarm at the dangerous escalation in violence between Israelis and Palestinians," Ban said after meeting Israeli President Reuven Rivlin.
"If we do not act fast, the dynamics on the ground will only get worse."
Ban added that "it is not too late to avoid a broader crisis" and urged renewed peace efforts, with negotiations at a standstill for more than a year.
"Beyond the immediate tensions, what is missing is the resolve to restore a political horizon for talks, and a political process that delivers real results and peace.
"We must, for the future of our children, come back from this dangerous abyss, safeguard the two-state solution, and lead people back to the road toward peace."
Ban is due to hold talks with Palestinian president Mahmud Abbas on Wednesday.
In a sign of growing international worry, US Secretary of State John Kerry will also meet Netanyahu in Germany this week and Abbas later at an unspecified location in the Middle East.
More than 40 Palestinians have been killed in the upsurge in violence that began at the start of the month, including alleged attackers. Eight Israelis have died in attacks.
As he met Netanyahu, Ban warned against any misuse of force since it could "breed the very frustrations and anxieties from which violence" can erupt.
Netanyahu strongly rejected such accusations.
"Israel is acting as any democracy would to defend its citizens," he said. "We are not - I repeat - we are not using excessive force."
Ban acknowledged both Palestinian frustration and Israelis' fear in the face of violence.
He said he was "deeply troubled by statements from Palestinian militant groups including Hamas and Islamic Jihad praising such heinous attacks."