Home / xwiki / xwiki-platform / CVE-2022-36099
CVE-2022-36099: is it exploited, and which versions of xwiki-platform are affected and fixed?
CVE-2022-36099 is a code injection through eval vulnerability in xwiki-platform. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki from 5.3-milestone-2 before 13.10.6 and org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki from 14.0 before 14.4 (GitHub advisory GHSA-xr6m-2p4m-jvqf). Fixed in 13.10.6 and 14.4 (GitHub advisory GHSA-xr6m-2p4m-jvqf). Severity: Critical (9.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:45 UTC.
What is CVE-2022-36099?
XWiki Platform Wiki UI Main Wiki Eval Injection vulnerability
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.
From the CVE record by GitHub_M, last updated April 22, 2025, 17:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| xwiki | xwiki-platform | >= 5.3-milestone-2, < 13.10.6 >= 14.0, < 14.4 |
As the CVE record by GitHub_M states it, last updated April 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki | >= 5.3-milestone-2, < 13.10.6 | 13.10.6 | GHSA-xr6m-2p4m-jvqf |
| Maven | org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki | >= 14.0, < 14.4 | 14.4 | GHSA-xr6m-2p4m-jvqf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 16, 2022. Summary: XWiki Platform Wiki UI Main Wiki Eval Injection vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xwiki | xwiki | from 5.4 before 13.10.6 | application |
| xwiki | xwiki | from 14.0 before 14.4 | application |
| xwiki | xwiki | 5.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:52 UTC.
How severe is CVE-2022-36099?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-36099 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, April 22, 2025)
- EPSS
- 76.9% probability of exploitation activity in the next 30 days, percentile 99.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
- CWE-94 Improper Control of Generation of Code
- CWE-116 Improper Encoding or Escaping of Output
Where are the vendor advisories and references?
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-xr6m-2p4m-jvqf x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/fc77f9f53bc65a4a9bfae3d5686615309c0c76cc x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-19746 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 15, 2022
- Published
- September 8, 2022, 20:45 UTC
- CVE record updated
- April 22, 2025, 17:22 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:52 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect xwiki-platform?
- Feb 20, 2025CVE-2025-24893 xwiki-platform: code injection through eval exploited
- Nov 17, 2026CVE-2026-61689 xwiki-platform: improper Neutralization of Special Elements in Data Query Logic
- Sep 15, 2026CVE-2026-53966 xwiki-platform: missing authorization
- Sep 14, 2026CVE-2026-34151 xwiki-platform: path Traversal: '../filedir'
- Aug 10, 2026CVE-2026-48048 xwiki-platform: exposure of Private Personal Information to an Unauthorized Actor
- Aug 7, 2026CVE-2026-48047 xwiki-platform: path Traversal: '../filedir'
- May 20, 2026CVE-2026-33137 xwiki-platform: missing authorization
- Apr 15, 2026CVE-2026-40105 xwiki-platform: cross-site scripting (XSS)
Questions about CVE-2022-36099
Is CVE-2022-36099 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 76.9% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of xwiki-platform are affected by CVE-2022-36099?
org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki from 5.3-milestone-2 before 13.10.6 and org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki from 14.0 before 14.4, per the GitHub advisory GHSA-xr6m-2p4m-jvqf. The tables above give every range the sources list.
Which version fixes CVE-2022-36099?
13.10.6 and 14.4, per the GitHub advisory GHSA-xr6m-2p4m-jvqf. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-36099?
Critical (9.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-36099?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.