a small bite of a cupcake that doesn't contain "toxic" ingredients will be fine for most dogs. you might just want to monitor the dog for a little while to make sure he isn't showing any adverse reactions. some dogs might be a bit too silly and eat the wrapper that comes with the cupcake.