Bollywood superstar Shah Rukh Khan underwent surgery to treat a shoulder injury he suffered while performing stunts for an upcoming film, his aides said today.