Something similar happened to Blip a few years ago and it turned out she had been bitten in a cat fight: the pain at the top of her leg was caused by infection causing a swollen gland. It was easily sorted with antibiotics and painkillers, but just worth keeping that sort of injury in mind as a possibility.