Five security vulnerabilities have been discovered in older versions of WhatsApp across Android, iPhone, Mac, and Windows.