The conductor does not seem to show near the damage as the cord cap so not likely a loose terminal. Poor mating surfaces is far too common a problem on these.
The gap on that burnt contact terminal seems to be as tight as the one on the other side. Given the fact that there is green corrosion on the EGC and the screws my guess is that the burnt terminal had corrosion between it and the cord cap.