A householder has a duty of care to take reasonable steps to ensure their property is safe for casual visitors, including delivery people, guests and unwanted visitors.
If you are injured in someone else's home, you may be able to make a claim against their insurance policy. Most household insurance policies carry some form of coverage for accidents of this nature.