Substitute Mark De Vries scored with a minute remaining to seal victory for Leeds over Yeovil.
The on-loan striker rose at the far post to head home Jonathan Douglas' cross as Leeds moved up to 12th.
Yeovil were the better side in the first half and Leeds keeper Casper Ankergren made excellent saves to deny Anthony Barry and Paul Warne.
Leeds had a second-half penalty claim for handball turned down before De Vries snatched victory.
Leeds: Ankergren, Richardson, Marques, Heath, Clapham, Prutton (Flo 76), Douglas, Hughes (Westlake 84), Carole (De Vries 76), Beckford, Kandol.
Subs Not Used: Huntington, Da Costa.
Booked: Heath, Hughes.
Goals: De Vries 89.
Yeovil: Larrieu, Lynch, Guyett, Forbes, Nathan Jones, Rose, Stewart, Barry, Betsy, Warne (Domoraud 90), Owusu.
Subs Not Used: Ritchie Jones, Gillett, Alcock, Ujah.
Booked: Lynch, Nathan Jones.
Ref: Anthony Taylor (Greater Manchester).