It doesn't necessary.
Having a program open sourced does not necessarily mean that the program would be more vulnerable. Known wallets are open sourced to allow the user to review it themselves and search for any bugs. A zero day exploit is not all that likely.