The protest in the Central American country was organised by the left-wing group known as the Popular Revolutionary Bloc.
Witnesses said the steps of the cathedral were littered with bodies. Freelance photographer Ken Hawkins told the Los Angeles Times there had been no warning from government forces before the shooting started.