The shooting happened at 38th and Chestnut streets in University City just after 12 a.m. Tuesday.
While stopped at the light, two passengers from another car got out and fired 15 shots into the victim's vehicle, police said.
Both the driver and a passenger were shot multiple times. Several nearby cars were also hit by gunfire.
Police said the wounded driver sped off from the scene.
According to police, the driver reached Penn Presbyterian Hospital where both men are now being treated for their injuries.