Gold edged higher on Wednesday as the dollar eased, while reports of a tanker being hit by a projectile off the coast of Oman also boosted the safe-haven metal's appeal.

Spot gold was up 0.2% at $1,782.28 per ounce by 1226 GMT, while U.S. gold futures gained 0.5% to $1,785.

The U.S. Navy's Fifth Fleet said it was aware of an incident in the Gulf of Oman involving a commercial vessel.

Gold rose as the news broke, but more clarity on the incident would be needed for further impact, Saxo Bank analyst Ole Hansen said.

"It is an underlying support in the market, but it's not the one providing a lot of strength," Hansen said, adding gold needs either a weaker dollar or lower yields to advance further.

The dollar slipped 0.3%, making gold cheaper for overseas buyers.

Bullion hit its highest on Tuesday since Aug. 15 following reports of Russian missile killing two people in Poland. It gave up some gains after U.S. President Joe Biden said the weapon may not have been fired from Russia.

"The recent rally (in gold) was very much driven by a rolling over of the U.S. dollar which then triggered a wave of short-covering in the futures market," said Julius Baer analyst Carsten Menke, adding that people were using higher price levels to sell.

Data on Tuesday showed U.S. producer prices increased less than expected in October, raising hopes that the U.S. Federal Reserve could slow rate hikes going forward.

While gold is considered a safe investment during times of political and financial uncertainty, rising interest rates dim the non-yielding bullion's appeal.

Elsewhere, spot silver rose 1.8% to $21.93 per ounce, platinum added 0.4% to $1,018.75, while palladium was little changed at $2,086.25.

(Reporting by Arundhati Sarkar and Brijesh Patel in Bengaluru; additional reporting by Rahul Paswan; Editing by Vinay Dwivedi)