← Vulnerability feed

Vulnerability record · CVE-2022-36099 · published 8 September 2022

CVE-2022-36099: XWiki Platform Wiki UI code injection via XWikiServerClassSheet

Xwiki · Xwiki

XWiki Platform Wiki UI Main Wiki allows injection of arbitrary wiki syntax, including Groovy, Python and Velocity script macros, through a URL parameter handled by the XWikiServerClassSheet. An authenticated user with view access to that sheet and any page saved with programming rights can execute arbitrary code, breaking all access controls on the wiki.

8.8 CVSS 3.1 High EPSS 76% · top 0.5% CWE-94 · Code injectionCWE-95 · CWE-95
8.8CVSS 3.1 base score
76%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

XWiki Platform Wiki UI Main Wiki is software for managing subwikis on XWiki Platform, a generic wiki platform. Starting with version 5.3-milestone-2 and prior to versions 13.10.6 and 14.4, it's possible to inject arbitrary wiki syntax including Groovy, Python and Velocity script macros via the request (URL parameter) using the `XWikiServerClassSheet` if the user has view access to this sheet and another page that has been saved with programming rights, a standard condition on a public read-only XWiki installation or a private XWiki installation where the user has an account. This allows arbitrary Groovy/Python/Velocity code execution which allows bypassing all rights checks and thus both modification and disclosure of all content stored in the XWiki installation. Also, this could be used to impact the availability of the wiki. This has been patched in versions 13.10.6 and 14.4. As a workaround, 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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityCVSS 8.8 with low privileges and no user interaction, very high EPSS, and public exploit material, though no KEV listing or ransomware use.

What it is

XWiki Platform Wiki UI Main Wiki allows injection of arbitrary wiki syntax, including Groovy, Python and Velocity script macros, through a URL parameter handled by the XWikiServerClassSheet. An authenticated user with view access to that sheet and any page saved with programming rights can execute arbitrary code, breaking all access controls on the wiki.

Impact

An attacker gains arbitrary code execution with the rights of the wiki server, allowing modification and disclosure of all content stored in the XWiki installation and potentially impacting availability.

Attack surface

Reached remotely over the network via a crafted request (URL parameter) to the affected sheet; the vector requires low privileges (an account with view access) and no user interaction.

Exploitation

No CISA KEV listing and no ransomware association; EPSS is very high (0.7589, 99.5th percentile) and a reference is tagged Exploit, indicating public exploit material exists.

What to do

  • Upgrade to XWiki 13.10.6 or 14.4, which contain the patch
  • If immediate upgrade is not possible, manually apply the patch changes to XWiki.XWikiServerClassSheet or WikiManager.XWikiServerClassSheet
  • On XWiki 12.0 and later, import XWiki.XWikiServerClassSheet from xwiki-platform-wiki-ui-mainwiki 14.4 via the administration import feature
  • Restrict accounts and view rights on the affected sheet and on pages saved with programming rights
  • Review pages with programming rights and remove unnecessary ones

Detection

  • Monitor web requests for URL parameters targeting XWikiServerClassSheet for Groovy, Python or Velocity macro syntax
  • Alert on creation or modification of pages saved with programming rights
  • Review XWiki logs for script macro execution errors or unexpected Groovy/Python/Velocity activity
  • Audit accounts with view access to the affected sheet for anomalous access patterns

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-36099 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-24893XWiki SolrSearch unauthenticated remote code executionXWiki Platform's SolrSearch endpoint evaluates user-supplied search text as Groovy code, allowing arbitrary remote code execution. The flaw is reacha…KEVEPSS 100%analysed9.9CVE-2023-27479Xwiki injection vulnerabilityXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with view righ…EPSS 1.1%9.8CVE-2024-31996Xwiki code injection vulnerabilityXWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, the HTML escaping of esca…EPSS 2.1%9.8CVE-2024-31982Xwiki code injection vulnerabilityXWiki Platform is a generic wiki platform. Starting in version 2.4-milestone-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, XWiki's databas…EPSS 35%9.8CVE-2024-21650XWiki user registration RCE via name fieldsXWiki Platform is vulnerable to remote code execution through its guest user registration feature. An attacker can inject malicious payloads into the…EPSS 93%analysed9.8CVE-2023-46731XWiki Platform unescaped URL parameter allows remote code executionXWiki Platform fails to properly escape the section URL parameter used when displaying administration sections, allowing injection of code such as Gr…EPSS 89%analysed9.8CVE-2023-26477XWiki Platform unauthenticated code injection via newThemeName parameterXWiki Platform versions from 6.3-rc-1 and 6.2.4 onward allow injection of arbitrary wiki syntax, including Groovy, Python and Velocity script macros,…EPSS 75%analysed9.8CVE-2022-29161Xwiki broken cryptographic algorithm vulnerabilityXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The XWiki Crypto API will generate X509 cert…EPSS 0.41%

Source: NIST National Vulnerability Database (record CVE-2022-36099), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.