In this digital age, fraudulent practices are among the most challenging that organizations must be aware of due to the increasing use of online transactions. This also applies to the banking sector whose business has become more complex with the recent developments in information and communication technology, which has changed the nature of bank fraud requiring advanced prevention measures. From this perspective, this paper aims to determine how cybersecurity affects fraud prevention for Jordanian commercial banks. A five-dimensional NIST cybersecurity framework was used. The research data was collected from 173 information technology managers in commercial banks listed on the Amman Stock Exchange. Structural equation modeling (SEM) was applied to investigate research hypotheses. The results of the research demonstrated the significant impact of cybersecurity in fraud prevention, especially detect function which had the largest impact among the dimensions of cybersecurity. Therefore, a set of recommendations were formulated for policymakers in Jordanian commercial banks, the most important of which is the adoption of multi-factor authentication (MFA) approaches for customer accounts, employee access, and biometric systems that add an additional layer of protection and make access to sensitive information to unauthorized individuals more difficult.