QuickTime Player on Mac is very secure, being that it’s a first-party app. QuickTime Player for Windows OS, however, hasn’t had any security updates since 2017, so will be far more vulnerable to exploits from malware.