In my opinion, 2 things make cupcakes moist: buttermilk and vegetable oil! I think cupcakes made with a combination of buttermilk and vegetable oil also stay moist longer as opposed to ones made with just butter. You could also use brown sugar for moistness, but I usually don’t because it’s sweeter than granulated sugar.