Wigan Athletic's UEFA Europa League hopes hang by a thread after a last-gasp 2-1 defeat to Zulte Waregem on Thursday.
Leon Barnett put the hosts ahead early on, brilliantly volleying home from the edge of the penalty area after a Jordi Gomez miscue.
An open first half ended even, though, young Wigan goalkeeper Lee Nicholls spilling an effort from Thorgan Hazard over his own goal line.
Wigan looked like the only team likely to score in the second period, but Junior Malanda slammed home an 88th-minute winner to move the Belgians second in Group D with one game to play.
The Championship side must win at Maribor in their final game, while hoping Waregem lose at runaway group winners Rubin Kazan, although the Slovenian champions remain in the hunt themselves.
Owen Coyle made six changes from Saturday's 1-0 defeat to Brighton and Hove Albion, Manchester United loanee Nick Powell starting at the head of Wigan's attack with Gomez supporting. Waregem came into the clash on the back of a six-game unbeaten run but still made three alterations from their weekend win over Mechelen.
The hosts were ahead after just seven minutes as Callum McManaman and Gomez worked a short corner routine, only for the Spaniard to mis-hit his effort. However, the ball fell perfectly for Barnett, who slammed home his fourth goal of the season.
Within 10 minutes of the opener, McManaman almost doubled the lead and Waregem midfielder Sven Kums scuffed wide after electric build-up play from Frederic Duplus on the left.
James McClean ended a strong run with a shot from the left channel that visiting keeper Sammy Bossut saved well, although the Irishman had better options centrally.
And Bossut's sharpness was rewarded in part through an error by his opposite number as the visitors pounced on an error from James McArthur to drive up the field.
The ball eventually found Hazard, whose firm effort was straight at Nicholls, but the 21-year-old was caught in two minds and could only drop the ball over the line.
Powell stung Bossut's palms with a well-struck shot on the hour, while Nicholls reacted well to palm Hazard's deflected free-kick behind eight minutes later as the sides firmed up after the break.
McArthur drilled a 20-yard shot wide with 10 minutes on the clock as the hosts pushed for a winner that looked as though it would fail to materialise.
But Malanda got on the end of fellow substitute Idrissa Sylla's cutback and lashed an unstoppable effort past Nicholls to deflate the home crowd and put Waregem in the driving seat for a spot in the next phase.
|Mexico 0 Honduras 0: Hernandez injury sours friendly|
|Hernandez taken to hospital|
|Garay in doubt for Copa America final|
|Wambach: USA peaking for World Cup final|
|Bassett ´an absolute hero´ despite own goal - Sampson|
|Japan 2 England 1: Late own goal breaks English hearts|
|Salvo quits as Valencia president|
|Costa not Ribery cover - Bayern director Sammer|
|Chile, Argentina deserve final spots - Mena|
|Ramos keen on United switch - Calderon|
|B36 1 The New Saints 2: Wilde leaves it late to secure advantage|
|Sevilla agree deal for Rami|
|Celtic snap up United teenager Janko|
|Beauvue passes Lyon medical|
|Roma bring in Falque|
|Coates completes permanent Sunderland switch|
|Vallecano to make charity donations from shirt sales|
|Angella commits to Watford|
|Gundogan pens new Dortmund deal|
|Juve reject €80million Barca offer for Pogba, says Marotta|
|Ruiz seals permanent Villarreal move|
|Mourinho respects Cech´s decision to quit Chelsea|
|Claridge excited by potential Pearson successors|
|Miranda completes Inter switch|
|Blind takes over as Netherlands coach|
|Mourinho: Premier League tougher to win than ever|
|Hamburg make Holtby move permanent|
|Southampton terminate Osvaldo contract|
|BREAKING NEWS: Swansea swoop for Eder|
|Abbiati extends Milan stay|
|Cruyff: Barcelona have lost their values|
|Vydra seals Watford move|
|Ambitious Clyne targets trophy haul with Liverpool|
|Claridge: Off-field incidents cost Pearson his job|
|Clyne becomes Liverpool´s sixth close-season signing|
|Imbula leaves Marseille for Porto|
|FIFA chief Blatter challenges critics to prove corruption claims|
|Distin joins Bournemouth|
|Bayern seal Costa deal|
|Arsenal confirm Diaby departure|
|Blatter to miss Women´s World Cup final|
|Bogdan sets sights on being Liverpool number one|
|Danilo eager to get started at Real Madrid|
|Leicester´s Wood joins Leeds|
|Porto confirm Atletico move for Martinez|
|Lloyd: Repetition key to netting penalty|
|Sheffield Wednesday job a ´dream´ for Carvalhal|
|´We played a complete game´ - Messi|
|Diaz upbeat despite heavy Copa loss to Argentina|
|Martino lauds Messi for selfless performance|
|Viviani makes surprise Verona switch|
|Estonian team wins cup match 31-0|
|No meeting with Arsenal has occurred - Vidal´s agent|
|United States 2 Germany 0: Ellis´ team reach World Cup final|
|Argentina 6 Paraguay 1: Messi leads Martino´s men to Copa final|
|UEFA Europa League Review: FK Zeljeznicar and FC Dacia Chisinau open with wins|
|UEFA Champions League Review: FC Pyunik make winning start|
|Sweden U21 0 Portugal U21 0 (aet, 4-3 on penalties): Carlgren the hero as Swedes claim Euro glory|
|Frankfurt capture Castaignos|
|Bastia face relegation over debt|
|Bahlouli makes Monaco switch|
|Pearson sacked by Leicester|
|Rekik set for Marseille switch|
|Ranocchia and Carrizo sign new Inter deals|
|Crespo handed Modena role|
|Cech reveals work permit prevented past Arsenal move|
|Ivory Coast cut coaching shortlist down to five|
|McCarthy satisfied with Mings sale|
|Heaton commits to Burnley|
|Bowyer: Rhodes and Gestede will not come cheap|
|Burton and Day depart West Brom|
|Mendilibar makes Eibar return|
|Milan agree to terminate Muntari contract|
|Copa final a dream come true for Sampaoli|
|CSKA Sofia demoted due to financial crisis|
|Wolfsburg warn off De Bruyne suitors|
|Kone: I want to prove I can cut it at Everton|
|West Ham v Lusitans: Bilic set for first game in charge|
|Millennium Stadium to host 2017 UEFA Champions League final|
|Ronaldo a ´possibility´ for Portugal´s Olympics squad|
|Liverpool should get rid of Sterling - Grobbelaar|
|Miranda arrives for Inter medical|
|Arsenal can challenge the best - Cech|
|Real star Bale can be better than Ronaldo, says Keegan|
|UEFA approves changes to FFP rules|
|Honduras v Mexico: Moreno´s injury may force Mexican rethink pre-Gold Cup|
|Hiddink was the wrong man for Netherlands - De Boer|
|Vargas: I was scoring with every shot at training|
|Zambrano red rocked Peru - Gareca|
|Paraguay to change tack against Argentina|
|Sampaoli thrilled with substitutes´ influence, applauds Peru|
|Martino rues Copa America date with former side Paraguay|
|Former Birmingham City player Thwaites among Tunisia victims|
|Chile 2 Peru 1: Zambrano´s red card helps hosts into Copa final|
|Thiago Silva: ´I didn´t even know the ball had hit my hand´|
|Ronaldinho set to sign for Antalyaspor|