The man swung a shovel, injuring the student before the synagogue’s security personnel were able to restrain him. He was later taken into custody by Hamburg police.
The victim suffered serious injuries to the head and was brought to a local hospital for treatment, the daily Süddeutsche Zeitung reported.
The attack comes ahead of the one-year anniversary of a deadly Yom Kippur synagogue attack in the eastern German city of Halle.
sms/dr (Süddeutsche Zeitung, Hamburger Morgenpost)