Question: are foxes dangerous to domestic dogs?
Answer: Foxes avoid dogs, even small dogs, because many foxes are killed by dogs. So it is much more likely that your dog will attack the fox, not the other way round. Attacks on cats are equally rare: cats and foxes are roughly the same size, and cats are very capable of defending themselves against foxes.