Want to buy a used 2017 Hyundai Accent but concerned about its safety rating

Sorry to say this is the worst time to buy a used vehicle. they are way overpriced. and there will probably be a lot of repairs on a high mileage vehicle. MY personal opinion would be to lease a vehicle until you can buy a new one. you will have better safety features and if anything major happens to the vehicle it will be covered by the dealer. you are just responsible for Maintenace items.