XWiki App Within Minutes Remote Code Execution Vulnerability

Vulnerability

A remote code execution vulnerability has been identified in XWiki's App Within Minutes applications. This issue affects users with edit rights, allowing them to execute arbitrary code by manipulating custom display properties. The vulnerability arises from improper handling of author permissions in the application editor.

Impact

Exploitation of this vulnerability allows for remote code execution on the server where XWiki is hosted.

Reproduction

To reproduce this vulnerability, log in as a user with edit rights but no scripting permissions. Create a document named 'EvilDisplayer.WebHome' and edit it using the class editor. Add a property of type 'Computed Field' with a custom display that includes a Groovy script printing a message. After saving, navigate to an application that uses App Within Minutes, edit the application, and use the inspector to find a hidden input. Change its value to reference the document created earlier and confirm the change. The Groovy script will execute, demonstrating successful exploitation.

Remediation

Users can update to XWiki versions 17.0.0, 16.4.7, or 16.10.3, where this vulnerability has been fixed. Additionally, restricting edit rights on App Within Minutes applications to trusted users can mitigate the risk.

Added: Jun 13, 2025, 6:29 PM
Updated: Jun 13, 2025, 6:29 PM

Vulnerability Rating

Custom Algorithm
spread
3.1
impact
10.0
exploitability
6.6
remediation
7.9
relevance
0.2
threat
6.6
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.