CVE-2022-39387
Java vulnerability analysis and mitigation

Overview

XWiki OIDC (OpenID Connect) authentication module contained a critical authentication bypass vulnerability (CVE-2022-39387) discovered in January 2022. The vulnerability affected versions prior to 1.29.1 of the org.xwiki.contrib.oidc:oidc-authenticator Maven package. This security flaw allowed attackers to bypass the configured OpenID provider authentication mechanism by manipulating request parameters (GitHub Advisory).

Technical details

The vulnerability has a CVSS v3.1 score of 9.1 (Critical) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. The flaw is classified as CWE-287 (Improper Authentication). The vulnerability allowed attackers to specify their own provider through oidc.endpoint.* request parameters or by using an XWiki-based OpenID provider with oidc.xwikiprovider, effectively bypassing the authentication configured in xwiki.properties (GitHub Advisory).

Impact

The vulnerability could allow attackers to bypass XWiki authentication completely. Additionally, attackers could exploit the flaw to provide specific group mappings through oidc.groups.mapping, potentially gaining administrative access by making their user automatically part of the XWikiAdminGroup (GitHub Advisory, Jira Issue).

Mitigation and workarounds

The vulnerability was patched in version 1.29.1 of the authenticator. There are no workarounds available, and an upgrade to the patched version is required to address the security issue (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-2025-66516CRITICAL10
  • JavaJava
  • opensearch-2
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-pure-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

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