In today’s digitally interconnected world, social media emerges as a powerful tool, offering different opportunities for modern businesses. Not only do organizations use social media for marketing purposes, but they also endeavor to influence consumer psychology and behavior. Although prior studies indicate social media’s efficacy in disseminating corporate social responsibility (CSR) communications, there remains a dearth of research addressing the impact of CSR-related messaging from banks on consumers’ brand advocacy behavior (CBAB). Our study seeks to bridge this gap, exploring the CSR-CBAB relationship within the banking sector of an emerging economy. Additionally, we investigate the roles of consumers’ emotions and values in mediating and moderating their CBAB, introducing two mediating factors, consumer happiness (HP) and admiration (BRAD), and moderating variable altruistic values (ATVL). Data collection involved an adapted questionnaire targeting banking consumers. The structural analysis revealed a positive correlation between a bank’s CSR-related social media communications and CBAB. HP and BRAD were identified as mediators in this relationship, while ATVL emerged as a moderator. These findings hold significant theoretical and practical implications. For instance, our research highlights the indispensable role of social media in effectively conveying CSR-related information to banking consumers, subsequently enhancing their advocacy intentions.