The register method in the UsersModelRegistration class in controllers/user.php in the Users component in Joomla! before 3.6.4 allows remote attackers to gain privileges by leveraging incorrect use of unfiltered data when registering on a site.
https://github.com/rustyJ4ck/JoomlaCVE20168869
https://www.exploit-db.com/exploits/40637/
https://github.com/joomla/joomla-cms/commit/bae1d43938c878480cfd73671e4945211538fdcf
https://euvd.enisa.europa.eu/vulnerability/EUVD-2016-9694
https://developer.joomla.org/security-centre/660-20161002-core-elevated-privileges.html
https://blog.sucuri.net/2016/10/details-on-the-privilege-escalation-vulnerability-in-joomla.html