SAN JOSE, Calif. — Joe Pavelski scored two goals and the San Jose Sharks bounced back from a loss at Edmonton by beating the Oilers 5-2 in the back end of a home-and-home set Tuesday night.

Barclay Goodrow, Logan Couture and Brent Burns also scored for the Sharks, who have won five of six with the only loss coming on Sunday night in Edmonton to the worst team in the Western Conference.

Alex Stalock made 25 saves as he started consecutive games for the first time since last March.

Jordan Eberle, David Perron scored for the Oilers, who were unable to carry over the momentum from their 2-1 win over the Sharks that snapped an 11-game losing streak. Ben Scrivens made 19 saves.

The game came at a cost to the Sharks, who lost two players to injuries. Star defenseman Marc-Edouard Vlasic didn't return after taking a hard hit into the boards from Tyler Pitlick late in the first period.

Fourth-line forward Mike Brown then got injured in the second when he slammed hard into the boards trying to check Matt Hendricks. Brown couldn't put weight on his right side and needed help getting back to the locker room.

But San Jose did avoid another loss to one of the bottom teams in the NHL, having lost all seven games already against the Oilers and Eastern Conference also-rans Buffalo, Florida and Columbus.

Couture gave the Sharks the lead for good early in the second when he tipped in a point shot from Scott Hannan to make it 3-2.

San Jose went on a power play 1:14 later, when Steven Pinizzotto was called for holding, and needed just 7 seconds to add to the lead when Pavelski capped a pretty passing sequence started by Joe Thornton and Patrick Marleau with his second goal of the game.

Burns added an insurance goal with a blast from the point late in the third.

The Sharks got off to a fast start, scoring a pair of goals in a span of 54 seconds to take a 2-0 lead less than 6 minutes into the game. Pavelski started it with a spin-o-rama shot that beat Scrivens to give the Sharks the first goal for just the second time in 10 games.

A newly formed third line added to the lead when Melker Karlsson got stopped by Scrivens in his NHL debut, and Goodrow knocked in the rebound for his first career goal to make it 2-0.

But Edmonton took the game over after that, tying it with goals from Eberle and Perron.

NOTES: Hendricks (leg) returned after missing four games for the Oilers. F Boyd Gordon sat out with a bad back. ... San Francisco Giants postseason hero Travis Ishikawa dropped the ceremonial first puck.