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*
At least 19 dead after attempted prison break in Somalia
19 killed in massacre in eastern DR Congo's Ituri
Algerian journalist who covered protests handed 3 year jail term
Gunmen kill six French tourists, their driver and guide in Niger
Blast rocks military base in Somali capital, at least eight dead
10 countries account for 80% of Africa Covid-19 testing
Mauritania PM and government resign amid corruption probe
Uganda’s approach curbs virus, even as Africa nears 1mn cases
Suspected Boko Haram militants kill at least 13 in Cameroon