(CNN) -- Border skirmishes between Thailand and Cambodia flared for a second day in an ongoing dispute over an ancient Hindu temple, a Thai military official said Wednesday.
There were several exchanges of gunfire overnight, according to Col. Sansern Kaewkumnerd, a Thai military spokesman, who said the exchanges were brief.
Some hand grenades were thrown and one Thai soldier was injured, he said.
The Asian neighbors have been urged by the U.N. Security Council to end their dispute over Preah Vihear temple.
The council issued a statement on Monday, following a closed-door session on the conflict that included representatives from both sides and the Association of Southeast Asian Nations (ASEAN).
"The members of the Security Council called on the two sides to display maximum restraint and avoid any action that may aggravate the situation," said the statement, read by Ambassador Maria Luiza Ribeiro Viotti of Brazil, which holds the monthly presidency of the 15-member body for February.
"The members of the Security Council further urged the parties to establish a permanent ceasefire and to implement it fully and resolve the situation peacefully and through effective dialogue," she said.
Border skirmishes, which started earlier this month, have killed five people, including members of the military and civilians, a statement from ASEAN said, adding that each nation accuses the other of firing first.
The clashes stem from a longstanding conflict related to the 11th-century Preah Vihear temple. The building sits on a cliff in Cambodian territory, but the most accessible entrance to the site is on the Thai side.
In a letter to the United Nations last week, Cambodian Prime Minister Hun Sen said that in addition to the human toll the fighting was taking, the temple had suffered damage.
Conflict over the site has taken place periodically for years. In 1962, the International Court of Justice in The Hague, Netherlands, ruled that the site was in Cambodia, adding that the structure was "an outstanding masterpiece of Khmer architecture".
But Thailand says the 1.8-square-mile (4.7-square-kilometer) area around Preah Vihear was never fully demarcated, and blames a map drawn at the beginning of the 20th-century during the French occupation of Cambodia.
In July 2008, the United Nations approved Cambodia's application to have the temple listed as a World Heritage Site, meaning the U.N. believes the place has outstanding universal value. CNN