The alerts highlight security flaws in Apple’s productivity apps and Google’s Chrome browser for desktop computers.