According to the US Department of Homeland Security and the National Consortium for the Study of Terrorism and Responses to Terrorism , a total of 8,302 terrorist attacks occurred worldwide , resulting in 25,082 deaths and 19,924 injuries in 2019 .