According to this Stack Exchange answer, glass reflects around 4-100% of the UV in sunlight depending on the angle of incidence. So you could probably get a sunburn if the angle is low enough (like if the Sun is almost directly overhead and reflecting off a vertical window).