A 17-year-old enrolled in a summer program at Madison Park High School was taken to the hospital after being stabbed outside the school Wednesday morning, police said.

The male student, whose injuries were not considered life-threatening, was stabbed at 8:53 a.m. at 75 Malcolm X Boulevard after an altercation with two or three males who approached him, Boston Police Superintendent in Chief William Gross said.

“The victim was sitting on a wall outside, and [a] number of individuals approached him,” Gross said. “He was stabbed once in the face and once in the torso and was transported to Brigham and Women’s Hospital.”


He said detectives were trying to determine a motive in the attack.

The principal of the school declined comment this morning.

Brian Ballou, a spokesman for the Boston public schools, said the incident took place just outside school grounds.

It was not clear what program the student was in, Ballou said, but Madison Park is a central summer school site for the city.

The victim is believed to a be a high school student in Boston.

Counselors will be available for students who need them, Ballou said.

Mike Bello of the Globe staff contributed to this report. Evan Allen can be reached at evan.allen@globe.com. Follow her on Twitter @evanmallen.