Is magento 2 secure against database leaks and such?

Hey, we are thinking in our company about switching to magento 2, we currently have custom made, but its a nightmare because something constantly needs to be fixed.. I wanted to ask is magento 2 secure against hackers and database leaks, password leaks and such? I know every pw is now after sha256 but what about leaks such as stealing order details or company details? We are in europe and that could cost us sue's if ever any company details would be lost
 
Top