More than 40 people were killed and dozens wounded in Central African Republic in an attack on a Catholic mission sheltering 20,000 refugees, a regional lawmaker said.