Description
In XWiki before versions 11.10.5 or 12.2.1, any user with SCRIPT right (EDIT right before XWiki 7.4) can gain access to the application server Servlet context which contains tools allowing to instantiate arbitrary Java objects and invoke methods that may lead to arbitrary code execution. The only workaround is to give SCRIPT right only to trusted users.
Remediation
References
Related Vulnerabilities
Moodle Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2016-2158)
WordPress Plugin SpeakOut! Email Petitions Cross-Site Scripting (2.13.2)
WordPress Plugin Customize Feeds for Twitter Cross-Site Request Forgery (1.8.8)
PHP Numeric Errors Vulnerability (CVE-2014-3587)
WordPress Plugin WordPress Shortcodes-Shortcodes Ultimate Multiple Vulnerabilities (4.9.3)