If you have multiple non-API only session providers installed, then someone with editinterface (but not editsitejs rights) can trigger an XSS in CentralAuth on Special:CentralAutoLogin/checkLoggedIn (Automatically loaded for anons. Also triggerable on some other Special:CentralAutoLogin subpages). This is an obscure configuration, which as of this writing does not include Wikimedia.
Anyways: line 657 of CentralAuth/includes/specials/SpecialCentralAutoLogin.php doFinalOutput() - echo "/* $status */\n$body"; $status should be escaped. In checkSession() [line 81], this will output an i18n message if a different session handler other than CentralAuth is present. Normally the i18n message is sessionprovider- followed by name of the class. Admins can adjust this message in order to inject javascript. The fact that this special page is not available via the API, and most alternative session handlers are API only, limits the applicability of this bug.
I'd recommend removing the / and * characters from $status.