Scary moment in the WWE on Monday night ... Seth Rollins was attacked by a fan during "RAW" -- and the wrestler needed droves of security to help get the guy off of him.
It all went down just seconds after the superstar had beaten Finn Balorin the ring at Barclays Center in New York ... when a man left his seat, jumped some railing, and speared Rollins while the 35-year-old was on his way back to the locker room.
Video shot by fans standing next to the altercation is WILD -- the man absolutely rocked Rollins ... taking him to the ground in violent fashion.
Rollins was able to fight back long enough for WWE refs and security to help him -- and fortunately, Seth was able to wriggle free and avoid any serious injury.
WWE officials confirmed the attack was not fake at all ... and said they were working with law enforcement to make sure the man "will be prosecuted to the fullest extent of the law."
"WWE takes the safety of its performers very seriously," WWE officials said.
TMZ Sports has learned the NYPD did arrest the fan ... and the man has since been hit with 2 criminal charges -- attempted assault, attempted violation of arts and cultural affairs -- disrupting live sporting event.
We're told he's due in court for a hearing on the matter next month.