After a goalless first half, Poland went ahead on 49 minutes. The host were awarded a penalty when former West Bromwich Albion midfielder Grzegorz Krychowiak was bundled over in the box by Jesper Karlström.
Robert Lewandowski made no mistake from the spot to spark raucous scenes at Śląski Stadium in Chorzów.
But Sweden responded well after going behind. The visitors dominated proceeding but were kept at bay by some stout Polish defending.
With the visitors seemingly in the ascendancy, Poland doubled their advantage against the run of play on 72 minutes.
Marcus Danielson’s poor first touch allowed Napoli midfielder Piotr Zieliński to race clear, fire home and send the home crowd into raptures.
Moder, who has netted three goals in 27 Premier League appearances for Albion this season, played the full 90 minutes and was shown a yellow card on 51 minutes.
In last night’s other European qualifying play-off, Portugal secured passage to Qatar thanks to a 2-0 home win over North Macedonia.
Manchester United midfielder Bruno Fernandes was at the double for the hosts.
Check out the latest Premier League speculation below...