Police say the 12-year-old was trick-or-treating at a park Wednesday in northeast Albuquerque. Police noted that the girl's mother said a person in a vehicle was handing out candy there, though it wasn't known if the candy bar with the straight pin came from that person.
The girl's mother told officers other motorists were giving candy to children at the park too.
The girl felt a prick from the pin in her mouth after taking a bite at home.
She was taken to a hospital, where she had lab work done. Police say the candy bar's wrapper is being tested for DNA evidence.
RELATED: 5-year-old boy tests positive for meth after eating Halloween candy