The study published by the National Center for Biotechnology Information (NCBI), Penn Medicine and Michigan Medicine refute the claim.
A research report published by Penn Medicine states that it is a common myth that cranberry juice will cure UTIs. It warns that a bottle of cranberry juice cannot replace a visit to the doctor, and there isn't sufficient data to determine the efficacy of the trials.
The University of Michigan has published an overview of a topic which says that cranberry juice may help in preventing UTIs in women. It also clarified that there is no enough proof to prove that cranberry juice can cure UTI and is not well tested.