Stuttgart are 45 minutes away from moving out of the Bundesliga drop zone after taking a 2-1 lead in at the break against Hamburger SV.
The visitors took the lead on 12 minutes when Gokjo Kacar struck for his third goal in as many games.
Hamburg went in search of their second, but neither Pierre-Michel Lasogga nor Marcell Jansen were able to find the target with shots from range.
Christian Genter levelled things up on 27 minutes when he squeezed a shot through Rene Adler's legs before going close with a long-range effort shortly after.
Martin Harnik then gave the home side the advantage 10 minutes before the break.
Victory would leave the hosts on 33 points in Germany's top division.
No Data Analysis info