there's nothing toxic in vanilla cake, but it is loaded with sugar, which dogs simply don't need in their diet.