Get it good and dry, check that the shield is connected and that all of the wires are intact. Seal it with liquid electrical tape and it should be good.

If that doesn't fix it, you can cut the cable and splice each wire and the shield individually and seal it up.

It is possible that a wire could have broken at a point where the cable jacket wasn't broken. That can be difficult to find.