Prepare the cupcakes according to the package instructions, adding the peppermint extract to the batter before filling the cupcake liners.
Prepare the frosting according to the recipe. Transfer the frosting to a piping bag fitted with a star tip and set aside.
Once the cupcakes are completely cooled, pipe the frosting onto each cupcake and sprinkle with crushed candy canes. Repeat until all of the cupcakes are frosted. Enjoy!