The Black Cats are no strangers to wriggling clear of the drop in recent years but they now look doomed as they sit nine points adrift of 18th placed Hull City with six games left, having been rooted to the bottom of the table since mid-January.
Even in his moment of joy, the Black Cats boss was not spared with some supporters singing "Are you watching David Moyes?", a reference to his reluctance to select the Tunisia global in recent months.
The first Premier League goal of Khazri in approaching a year actually cancelled out Andre Ayew's fifth minute opener for the folks, who scored at the outset of every half.
Moyes' side conceded in the first minute of the second half in last week's 3-0 loss to Manchester United and they seemed not to have learned their lesson, as Collins headed West Ham back in front soon after the break. But with time running out his replacement, Fabio Borini fired through a clutch of players to level the score and set up a nervy final few minutes for West Ham.
Jordan Pickford made a good save to keep out Manuel Lanzini's free-kick in only the second minute but it did not take long for West Ham to find the breakthrough.
David Moyes has "no issue" with Sunderland fans venting their frustrations at him with the Black Cats' slide towards relegation showing no sign of easing.
Microsoft says users are protected from alleged NSA malware
WikiLeaks also released more so-called CIA "Vault 7" attack tools earlier this month that are created to target Windows systems. The company said Friday that the leaked documents were dated and denied that any customer data had been affected.
Wahbi Khazri, starting for the first time since October 29, scored direct from a corner for Sunderland in between in the 26th minute.
On the injury to Billy Jones, Moyes said: "Billy has one to hospital but he's fine. The ball was not very high in the air so he could [not] have seen it all the way along".
After Borini's late leveler, West Ham finished with ten men after Sam Byram was dismissed in the fifth minute of stoppage time after being shown a second yellow card.
- Fabio Borino's two Premier League goals this season have both come in the 90th minute.
West Ham United are all but safe and have little other than pride to play for.