When I saw this I wondered if it had a disease or a parasite, but it turns out these are tiny green flowers. This plant is in the Nettle family, but has no stinging hairs. Can be about 3 feet tall. Likes wet and shade. Attracts moths and butterflies.
Smallspike False Nettle, Bog Hemp (Boehmeria cylindrica)