The Horn of Africa nation has been plagued by conflict since clan warlords overthrew a dictator in 1991. This was followed by fighting between rival clans and an Islamist insurgency.
Al Qaeda-aligned Al Shabaab, which seeks to topple the UN-backed government, often launches attacks in Mogadishu and across the country. It did not immediately claim responsibility for Sunday's attack and could not be reached for comment.
The Somali government could also not be reached for comment.
Residents living near the airport told Reuters several mortar bombs were fired at the compound. The diplomatic source said six people were injured after three mortar bombs were fired.
"I am appalled by this blatant act of terrorism against our personnel...Thankfully, the majority of our staff is unhurt," UN envoy James Swan said in a statement.
Al Shabaab has been trying for years to oust the central government and implement its strict version of Islamic law. It was driven out of the capital in 2011 but maintains a foothold in some regions including South West.
LEAVE A COMMENT Your email address will not be published. Required fields are marked*
New EU chief pledges to back Africa on Ethiopia trip
Floods kill 12 people in western Uganda
Three dead in Nairobi building collapse
Fourteen killed in rebel attack in Congo
Algerian protesters hold last Friday rally before election
Man burnt to death in freak accident
Babies born on floor as Zimbabwe’s health system totters
‘Kenya forcing importers to use costly new railway’
Mugabe left behind $10mn, some properties, says report