CVE-2022-36099
Java vulnerability analysis and mitigation

Overview

CVE-2022-36099 is a critical code injection vulnerability discovered in XWiki's platform-wiki-ui-mainwiki component. The vulnerability was disclosed on September 8, 2022, affecting XWiki versions from 5.3-milestone-2 onwards. This security flaw allows attackers with view access to inject arbitrary wiki syntax, including Groovy, Python, and Velocity script macros through URL parameters in the XWikiServerClassSheet (GitHub Advisory).

Technical details

The vulnerability stems from improper neutralization of directives in dynamically evaluated code, classified as CWE-95. It received a CVSS v3.1 score of 10.0 (Critical) with a vector string of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. The exploit can be triggered by manipulating URL parameters in the XWikiServerClassSheet, specifically through the 'domain' parameter that wasn't properly escaped (GitHub Advisory).

Impact

The vulnerability allows arbitrary Groovy/Python/Velocity code execution, enabling attackers to bypass all rights checks, potentially leading to both modification and disclosure of all content stored in the XWiki installation. Additionally, the exploit could be used to impact the overall availability of the wiki system (GitHub Advisory).

Exploitability

The vulnerability can be exploited by any user with view access to the XWikiServerClassSheet and another page that has been saved with programming rights. This is a standard condition on public read-only XWiki installations or private XWiki installations where the user has an account (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in XWiki versions 13.10.6 and 14.4. For earlier versions, a workaround involves manually editing the affected document XWiki.XWikiServerClassSheet or WikiManager.XWikiServerClassSheet to implement proper escaping of the domain parameter. For versions 12.0 and later, administrators can import the fixed XWiki.XWikiServerClassSheet from the xwiki-platform-wiki-ui-mainwiki package version 14.4 (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63219HIGH8.6
  • Java logoJava
  • org.geonetwork-opensource:gn-services
NoYesSep 03, 2026
CVE-2026-49464HIGH8.1
  • Java logoJava
  • nl.nl-portal:taak
NoYesSep 11, 2026
CVE-2026-55864HIGH7.7
  • Java logoJava
  • org.geonetwork-opensource:gn-web-app
NoYesSep 09, 2026
CVE-2026-49463MEDIUM6.5
  • Java logoJava
  • nl.nl-portal:besluiten
NoYesSep 11, 2026
CVE-2026-49439MEDIUM4.3
  • Java logoJava
  • io.openremote:openremote-manager
NoYesSep 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management