The logging of sensitive information can lead to a data breach and exploitation by potential attackers.