Author here.
Thankfully device-side microchips that interface with USB chargers come with overvoltage protection. For example: http://www.ti.com/lit/ds/symlink/tps65983b.pdf
Devices which charge from wall chargers have to undergo testing for power glitches to obtain FCC certification. I forget the name of the test. Somebody else will know what I'm talking about!