Is it safe?

At my school there are these cookies that aren't so fully cooked... I'm afraid it would hurt my baby... Is it okay to have maybe one or two