Start the cupcakes by preheating oven to 350F. Line a cupcake pan with 30 muffin cups.
In a medium bowl combine vanilla, buttermilk, sour cream, and coffee. Set aside.
In another bowl sift flour, cocoa, baking soda and salt. Set aside.
In a large bowl cream butter and both sugars until fluffy, about 5 minutes. Add eggs, one at a time until combined. Scrape bowl.
On low speed add buttermilk mixture in 3 parts, alternating with flour. Beat only until combined. Distribute among muffin cups, filling each about ⅔ full. I use this scoop to make it easier. You may or may not use all the muffin cups.
Bake 20-25 minutes until a toothpick comes out clean. Remove cupcakes from pan to a cooling rack and start the frosting.
Cookie dough frosting is made by beating brown sugar and butter for about 2 minutes until fluffy.
Add confectioners' sugar and beat to combine. On medium speed add flour and salt until smooth and then pour in milk and vanilla extract. Beat until combined.
Assemble cupcakes by slicing the top ⅓ off each cupcake horizontally. Pipe or spoon a dollop of frosting onto the bottom half of the cupcake and press a cookie into the frosting. Finish by topping the cupcake and adding more frosting on top, if desired.
Recipe by Jellibean Journals at https://jellibeanjournals.com/chocolate-cookie-dough-crunch-cupcakes/