Is this dangerous?

Weld a nut to the stud. Then turn it out. The heat helps break it loose.