It looks like the spring that pulls the derailleur back has broken or slipped. You could try opening up that part of the derailleur by popping off the snap ring that holds it onto the hanger that grabs the frame. Maybe see if the spring just slipped out of its hole. But unlikely you can do any real "repair" on this.