There isn’t sufficient safety data to know if milk thistle is safe in newborns. The immature liver and kidneys of newborns make herb processing and safety very different for them.
Don't use herbs or combine herbs with medications or use them during lactation or pregnancy without talking with your healthcare provider.