A Wi-Fi router, like any other device, is susceptible to malware such as VPNFilter and Switcher Trojan.