Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-36099

CRITICAL 9.9EPSS 88%

XWiki Platform Wiki UI Main Wiki Eval Injection vulnerability

Also known as GHSA-xr6m-2p4m-jvqf

Mitigation

  • Upgrade org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki to one of 13.10.6, 14.4 (or later in the same release line).

Who should check

  • Projects that depend on Maven package org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki (>= 5.3-milestone-2, < 13.10.6)
  • Anyone running xwiki-platform >= 5.3-milestone-2, < 13.10.6; >= 14.0, < 14.4

Vulnerability facts

Affected
org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki >= 5.3-milestone-2, < 13.10.6
Fixed in
13.10.6, 14.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
9.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
2.93% chance of exploitation in 30 days (percentile 88, 2026-11-26)
CWE
CWE-95, CWE-94
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki>= 5.3-milestone-2, < 13.10.613.10.6, 14.4osv
xwiki-platform>= 5.3-milestone-2, < 13.10.6; >= 14.0, < 14.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-36099. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-36099.md
Affected: org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki >= 5.3-milestone-2, < 13.10.6
Fixed in: 13.10.6, 14.4

Steps:
1. Search this machine and project for org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-36099 being exploited?

There is no confirmed exploitation: CVE-2022-36099 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.93% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-36099?

Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2022-36099?

org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki >= 5.3-milestone-2, < 13.10.6.

Is there a fix for CVE-2022-36099?

Yes. Fixed in 13.10.6, 14.4. Upgrade org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki to one of 13.10.6, 14.4 (or later in the same release line).

How do I check if I'm affected by CVE-2022-36099?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors