My server is on bare metal in some data center. I do not own the data center or the server outright.
So yes, obviously the amount of information that can be obtained from a break-in is quite high, but it would be mainly source code and trade secrets - absolutely no funds are on that server.
That is one of the key features of BTCPay Server, even if the server is hacked there are no funds on the actual server that can be stolen. It is true that hackers might be able to extract various sets of information but at least the server operator will not incur any loss of Bitcoin. I think that is probably why it has become a popular choice.
BTCpay server has released an emergency fix, users are advised to upgrade their servers
I read about the emergency fix. It is good they have an active team that rolled out the fix.