The 26-year-old Uruguayan has scored 29 goals in all competitions for Serie A's second-placed side this season to attract interest from a host of European clubs including Real Madrid and Manchester City.
Cavani will not be distracted from securing Napoli's place in next season's Champions League group stages, with leaders Juventus only eight points away with six games remaining, but he has not ruled out the prospect of a future move elsewhere.
He told La Repubblica: "I'm fine in Naples, but in football there are lots of things to consider.
"I can only say that I will give my all in this shirt until the last day I wear it.
"Second place is not guaranteed, it's up to us. We have to make it ours in the forthcoming matches.
"Actually, looking at the team above us (Juventus), not even the championship is decided. We will do everything we can."
Cavani has scored over 100 Serie A goals during spells with Palermo and Napoli, who he joined from the Sicilian club in 2010. Seventy-one of those league goals have come in a Napoli shirt.