It's possible, but unlikely. Those cupcakes cooked in a high temperature oven which would have killed any bacteria or viruses. Unless she is a very filthy person, I'm sure she's cleaned her countertops and her kitchen several times since then. I'm sure you'll be fine. Since it's been almost two weeks since she and her family were ill, she's not contagious herself anymore. it'll be okay.