Die Mannschaft were facing nearly guaranteed elimination with a 1-1 draw with Sweden and when they were awarded a free-kick in the last minute, even Manuel Neuer asked the bench for permission to move into the penalty area.
"Crazy people openly raging with racism against Jimmy Durmaz after a football match, unfortunately, says too much about the world we live in", Swedish sports journalist Patrick Ekwall tweeted on Sunday.
The defending champions put in a nervous display after a barrage of criticism following defeat by Mexico. "That was a setback but we had to digest that first but we knew we could claw our way back".
The Germans were at risk of being eliminated after Sweden scored first.
The intervention of Kroos means now it is all to play for in Group F.
Despite his individual error in the build-up to Sweden's goal, Kroos was praised by his teammates for his mental strength in the aftermath of the match.
Kroos curled in a superb strike from an indirect free kick to grab the three points for the four-times world champions who are now level with Sweden in Group F on three points and behind Mexico who have six.
Germany coach Joachim Loew said he was not aware of any taunting.
Sweden had scored in the first half on a clever counterattack, and with its one goal secured, chose to settle into some of the most defensive football seen at the World Cup so far.
There will be even more changes against South Korea. It was the combo of Hummels and Boateng that showed vulnerability against Mexico, and the pairing of Boateng and Antonio Ruediger was also unsteady against the Swedes. "So I was very angry", he said. "We will have to take stock and look at the situation".
"Reus started having cramp in his legs, Boateng will not be in the line-up, Rudy broke his nose and we probably need a day of rest".