No one is liable. Stray dog will rarely bite without any reason. In most cases, they are teased which results in attack. Or they can bite to protect their puppies. So, if you tease a dog and get bitten you cannot cry for compensation. read more
If a child under age 18 owns or is taking care of a dog, the minor’s parents are probably liable when the dog injures someone. Some dog-bite laws say that explicitly. Also, some states have laws that make parents responsible, to a limited extent, for any damage their minor children cause. read more