Not sure if this has been mentioned:
https://www.mcmaster.com/stripped-thread-repair-kits
Maybe not adequate for structural fasteners but should work for a small screw holding a cable in place. I used to use a Loctite product we called Form-a-thread but I don't know if this is the correct name for it. It may very well be the product listed at McMaster Carr but they strip most brand names off their catalogue listings.