Nafion contamination by ferrous-alloy corrosion products, resulting in dramatic drops of the Ohmic potential, is a suspected major failure mode of polymer electrolyte membrane fuel cells that make use of metallic bipolar plates. This study demonstrates the potential of scanning transmission X-ray microscopy combined with X-ray absorption and fluorescence microspectroscopy for exploring corrosion processes of Ni and Fe electrodes in contact with a hydrated Nafion film in a thin-layer cell. The imaged morphology changes of the Ni and Fe electrodes and surrounding Nafron film that result from relevant electrochemical processes are correlated to the spatial distribution, local concentration, and chemical state of Fe and Ni species. The X-ray fluorescence maps and absorption spectra, sampled at different locations, show diffusion of corrosion products within the Nafion film only in the case of the Fe electrodes, whereas the Ni electrodes appear corrosion resistant.