Scene of a accidental shooting at a high school graduation in Augusta, Kansas on Sunday, May 15, 2016

Two people have been injured in an accidental shooting at a high school graduation ceremony in southern Kansas, authorities said.

They were injured when a man with a concealed weapon permit adjusted a sock he had stuffed a pistol into, police said.

Augusta Police Chief Tyler Brewer said the shooting was accidental and described it as a "knucklehead situation".

The bullet went through the man's foot and travelled about another 50 feet before striking a woman in her calf.

The woman has been released from a Wichita hospital, while the man is receiving treatment.

The Augusta High School event continued after the shooting, with most people unaware of what happened.

Mr Brewer said he plans to present the case to prosecutors because it is illegal to carry a firearm on school grounds.

PA Media