Hospitals are vulnerable to cyber threats, with ransomware accounting for nearly 60% of attacks, posing a patient safety problem.