'Juice jacking:' Charging cables at airports can add malware, hack data on your phone
A dead or dying phone or laptop is enough to send anybody on a mad dash to find a way to charge the device, but you might want to think twice before using that random cable found at an airport charging station or docking into that hotel USB port -- hackers could be waiting.
Aimee Ortiz, New York Times