An issue exists in Joomla! 2.5.0 up to and including 3.9.27. Missing validation of input could lead to a broken usergroups table.
joomla joomla\\!