Photometric observations in g' and i' bands of the newly-discovered W UMa stars WISEJ004327.7+722407 and WISEJ234557.8+510456 are presented. The two targets are with shallow-contact configurations and their components are of G--K spectral type. We found that WISEJ004327.7+722407 is of A subtype while WISEJ234557.8+510456 is of W subtype. The different light levels at the quadratures were reproduced by cool spots on the bigger components. The procedure for calculation of the global parameters of eclipsing binaries by light curve solutions and GAIA distances was refined for stars with deep eclipses. The obtained global parameters reveal that at least one of the components of WISEJ004327.7+722407 and WISEJ234557.8+510456 is oversized, overluminous and too hot compared with an MS star with the same mass.