Disinfect the vacuum nozzle first, as you don’t want to touch your mattress with a nozzle that’s been stuck into cobweb-filled corners of the garage. Simply wipe it with an antibacterial wipe, inside and out, and let it dry.
If the mattress is still wet, spread a fresh layer of kitty litter on the mattress and allow it to sit for 1 to 2 hours. Then, vacuum it up.
Sunlight has the added benefit of killing bacteria in your mattress, as well.