It was found that foreman before 1.13.0 is vulnerable to a stored XSS via an organization or location name. This could allow an attacker with privileges to set the organization or location name to display arbitrary HTML including scripting code within the web interface.
https://projects.theforeman.org/issues/15037
https://github.com/theforeman/foreman/pull/3523
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8639