Is my iPhone safe to sell?

My iphones screen is broken therefore I can't use it. So I connected to iCloud and erased everything of it. Is it safe to sell it now? I wanted to log into iCloud and delete the device however it won't let me as the device isn't connected to the internet, and I can't use the screen. Will the new user be able to access my iCloud? I have changed my iCloud password, and clicked the option thag logs it out of every device, however the device is still registered on the find my iPhone app. What should I do?

Either repair it and clean it properly, or don't sell it.

You can remove it from Find My iPhone using your iCloud account. When you remove a device, it's removed from your Find My iPhone Devices list, and if your device has iOS 8 or later, Activation Lock is also turned off.

Cleaning your iCloud isn't going to clean your iPhone. The only way to clean it is to erase and wipe the phone clean.

Sure sell it