The medication triggers cells of long spindly parts of the severed nerves called axons to regenerative themselves.
Source: Revolutionary Jab that Could Repair Spinal Cord Injuries Developed by Scientists
Still a ways off, of course, but a pretty exciting direction.