She was transported to a Cape Canaveral hospital, where she’s being treated for nonlife-threatening injuries.

>> Read more trending stories

Ocean Rescue closed the beach after the attack, but it has since reopened.

A swimmer said he was very close to the spot where the girl was bitten.

"I look over and I see four puncture wounds, and everybody was saying, 'Shark!'" Jimmy Acevedo said. "I was right next to her."

The victim has not been identified and is expected to be OK.