President Barack Obama has carved out a clear advantage in the White House race even as he juggles the demands of his re-election campaign with managing a raging Middle East crisis.

Obama appears to be enjoying a resilient bounce following the Democratic National Convention nearly two weeks ago, while his Republican challenger Mitt Romney has struggled to land telling blows.

The US leader has a small but definite advantage in most national polls of the race to the November 6 election, and more importantly looks strong in swing states that will decide whether he wins a second term.

But while he has benefited from the advantages of incumbency, including an ability to appear statesmanlike, Obama could also experience its downside if anti-US feeling racing through the Muslim world takes another deadly turn.

So far, Obama appears to have avoided missteps following the deaths of four Americans, including the US Ambassador to Libya, that would erode his national security edge over Romney.

The President was up 10 points over his rival when voters were asked before the crisis whom they trust more to steer foreign policy, in a CBS/New York Times poll.

Obama’s campaign team would welcome an election fought over the more friendly terrain of national security, rather than the tepid economy.

But with Americans, including diplomats and Marines sent to protect them, vulnerable in the Arab world, Obama cannot yet afford to breathe easy.

“If this mushrooms and goes on, and we’re seeing people attacking US interests, then yes, it would raise foreign policy on the agenda of the election,” said Michele Dunne, director of the Rafik Hariri Center for the Middle East at the Atlantic Council.

But Dunne added that even if unrest in North Africa and elsewhere went on, it was unlikely to trump the economy as the dominant issue of the election.

In recent days, Obama has repeatedly been called upon to handle the threats to US targets in Yemen, Sudan, Egypt, Libya and elsewhere, with one eye on his political prospects. On Friday, he officiated in the return of the American dead from Libya, then nipped out of the White House for meetings with his campaign team and a big-money fundraiser in Washington.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.