The incident happened on Load Street in Bewdley at around 11pm on Sunday, September 10.
The suspect was quickly located and was arrested shortly after 4.30am this morning on suspicion of rape.
He remains in police custody.
A scene guard is in place on Load Street this morning while our investigation continues.
PC Dan Windsor, said: "I know that incidents like this, particularly in a small town like Bewdley, can be worrying for the public.
"We believe this was an isolated incident, and I hope that the suspect being arrested so swiftly offers some reassurance.
"There will continue to be a police presence on Load Street this morning and I’d urge anyone with any concerns to speak to our officers."