Korea's talismanic forward Son Heung-min struck a scorching consolation goal in stoppage time from outside the area.
The Swedish tactic of closing down the centre of defence and allowing the Germans space on the wings appeared to be paying off until Kroos' late goal.
"When things aren't going your way, a player like him can be so important".
The German Football Association (DFB) on Monday said two team officials will not have access to the pitch at their final World Cup Group F match against South Korea after their "unsportsmanlike" behaviour in the game against Sweden. In a few days we play again and we have to win it.
Defeat would have meant the earliest elimination for the four-times champions since 1938, and the criticism awaiting the team, who lost their opening match to Mexico, would have been massive in the soccer-mad nation.
Kroos took a thinly veiled dig at the German media and former players who had been sharply critical of the team over the past six days.More news: Burden falls on Coutinho to keep Brazil going at World Cup
"They're not happy with us winning", Osorio complained at one point during his three-year stint. "We must disregard all forms of racism".
Reus stopped the ball and stepped back as Kroos took his full windup and curled a shot that went over two defenders, around goalkeeper Robin Olsen and then inside the right post. "At this World Cup, a lot of goals have come at the end (of games) and today luck was on our side". If we win with more [goals] than Germany wins, we win the group.
Sweden coach Janne Andersson said the squad "stand 100 percent" behind Durmaz.
After the win over Germany, veteran Rafa Marquez said, "We dedicate the win to (Osorio) because he deserves it the most".
Sjostrand said that while he understood "the disappointment over losing in the last seconds", it was necessary "to also cope with a painful defeat with some sort of dignity and decency".
"You shouldn't celebrate in front of our bench the way they did, that's disrespectful, " Guidetti said.