I don’t think it matters how the device is connected to the network, wired or wireless. The security vulnerabilities were/are in the AirPlay protocols, not the WiFi protocols.
Mine are set up to “join” the network (as opposed to “extend”), so they just function as clients, they don’t provide WiFi. [Note that to set this up on a mesh network you have to connect them via Ethernet to change the settings, you can’t do it via WiFi, afterwards you can disconnect the Ethernet and they will then join the network wirelessly.]