Vulnerability in WhatsApp Desktop Exposed User Files February 5, 2020 https://www.securityweek.com/vulnerability-whatsapp-desktop-app-exposed-user-files PerimeterX: Critical Security Flaw Found in WhatsApp Desktop Platform Allowing Cybercriminals Read From The File System Access
So it's probably best to use Whatsapp Web. https://thenextweb.com/basics/2019/08/02/how-to-use-whatsapp-on-your-pc/