In future hybrid fiber and radio access networks, wavelength division multiplexing passive optical networks (WDM-PON) based fifth-generation (5G) fronthaul systems are anticipated to coexist with current protocols, potentially leading to non-linearity impairment due to stimulated Raman scattering (SRS). To meet the loss budget requirements of 5G fronthaul networks, this paper investigates the power changes induced by SRS in WDM-PON based 5G fronthaul systems. The study examines wavelength allocation schemes utilizing both the C-band and O-band, with modulation formats including non-return-to-zero (NRZ), optical double-binary (ODB), and four-level pulse amplitude modulation (PAM4). Simulation results indicate that SRS non-linearity impairment causes a power depletion of 1.3 dB in the 20 km C-band link scenario, regardless of whether the modulation formats are 25 Gb/s or 50 Gb/s NRZ, ODB, and PAM4, indicating that the SRS-induced power changes are largely independent of both modulation formats and modulation rates. This effect occurs when only the upstream and downstream wavelengths of the 5G fronthaul are broadcast. However, when the 5G fronthaul wavelengths coexist with previous protocols, the maximum power depletion increases significantly to 10.1 dB. In the O-band scenario, the SRS-induced maximum power depletion reaches 1.5 dB with NRZ, ODB, and PAM4 modulation formats at both 25 Gb/s and 50 Gb/s. Based on these analyses, the SRS non-linearity impairment shall be fully considered when planning the wavelengths for 5G fronthaul transmission.