Arbitrary Code Injection Affecting org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki package, versions [,13.10.6)[14.0-rc-1,14.5)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.98% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGXWIKIPLATFORM-3019836
  • published9 Sept 2022
  • disclosed9 Sept 2022
  • creditUnknown

Introduced: 9 Sep 2022

CVE-2022-36099  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki to version 13.10.6, 14.5 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the request (URL parameter) using the XWikiServerClassSheet, given that the user has view access to this sheet and to another page that has been saved with programming rights.

Workaround

Users who are not able to update to the fixed version may edit the affected document XWiki.XWikiServerClassSheet or WikiManager.XWikiServerClassSheet and manually perform the changes from the patch fixing the issue. On XWiki versions 12.0 and later, it is also possible to import the document XWiki.XWikiServerClassSheet from the xwiki-platform-wiki-ui-mainwiki package version. 14.4 using the import feature of the administration application as there have been no other changes to this document since XWiki 12.0.

CVSS Scores

version 3.1