Can a magnet be dangerous?

If it is strong enough, yes. One application of magnetism is to create heat via a strong magnetic field. These temperatures can reach in excess of 15,000 F.