The Fellowship walks through the outskirts of Lothlórien when they ambushed by the elves. Exact location within the forest is unknown.
Source: Location Guidebook
The Uruk-Hai attack the Fellowship on the slopes above Nen Hithoel where Pippin and Merry are captured and Boromir is killed. Exact filming location within the woods is unknown.