Liability of themes if they get hacked

We’re considering selling our themes via Themeforest and am just wondering, what are our liabilities if one of our themes gets hacked?

Obviously it’s unlikely and it’s never happened to any of our themes before, but what if it did get hacked on other peoples sites, would we be liable for damages or anything? Or are the themes sold as is and the liability is on Envato (if anyone) since they check all items?

I remember that liability is described in author/buyer terms.Author Terms | ThemeForest