St John’s-wort, probably the variety Hypericum perforatum.
The plant was placed over religious images as it was believed to ward off evil spirits, according to Neil Fletcher in the guide “Wild Flowers”.
Picture taken July 8.
If you can confirm identification please leave a comment below.