Preheat the oven to 350° F. Line 12 holes of a muffin tin with paper cupcake liners.
Sift together the flour, baking powder, baking soda, cinnamon and salt. Mix together with a fork, then set aside.
Beat the butter and sugar together until lightened and creamy. Add the eggs, one at a time, beating well after each. Make sure to scrape down the sides of the bowl every now and then.
Add the vanilla and pumpkin and mix through to combine.
Add ⅓ of the flour mix and stir through until just combined. Follow with half the buttermilk and mix through. Repeat this process until all the flour and buttermilk. Make sure not to overmix at this point or the cupcakes may turn out dense.
Split the batter into 2 bowls. Add the cocoa to one of them and gently stir through to combine.
Now add the plain pumpkin batter back to the chocolate batter and just turn it over once or twice with the spoon to start to marble it.
Divide the batter up amongst the 12 cupcake liners.
Bake for around 20 minutes, turning the trays half way through so they bake evenly. A toothpick should come out with just a crumb or two clinging to it when they are done.
Pour half batter into a separate bowl, add cocoa and mix through
For the Spiced Pumpkin Frosting
Beat the butter well for about 5 minutes until light and creamy. Scrape down the sides of the bowl from time to time.
Add the pumpkin puree and mix through well.
With the mixer on low, add the powdered sugar 1 spoonful at a time until it is all incorporated. Add the spices and the cream then beat for 5 minutes until light and fluffy.
Notes
Tips: Do not over mix the two batters, they will marble more as you scoop them into the cupcake pan and as they bake.Make sure all the cupcakes are filling to the same height so they all cook to the same doneness. It's important to note, I always use dutch processed cocoa. I love the intense color and taste. Make sure to use real pumpkin puree, not pumpkin pie filling.