# CVE-2022-39387: XWiki OIDC Authenticator vulnerable to OpenID login bypass due to improper authentication

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.31%, higher than 71% of CVEs (2026-11-30)
- Published: 2022-11-04T00:00:00.000Z
- Modified: 2026-06-17T04:58:15.857Z
- Also known as: GHSA-m7gv-v8xx-v47w
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

XWiki OIDC has various tools to manipulate OpenID Connect protocol in XWiki. Prior to version 1.29.1, even if a wiki has an OpenID provider configured through its xwiki.properties, it is possible to provide a third party provider its details through request parameters. One can then bypass the XWiki authentication altogether by specifying its own provider through the oidc.endpoint.* request parameters (or by using an XWiki-based OpenID provider with oidc.xwikiprovider. With the same approach, one could also provide a specific group mapping through oidc.groups.mapping that would make his user automatically part of the XWikiAdminGroup. This issue has been patched, please upgrade to 1.29.1. There is no workaround, an upgrade of the authenticator is required.

(As written by CVE List.)

## Affected

- xwiki-contrib oidc: < 1.29.1
- org.xwiki.contrib.oidc:oidc-authenticator (Maven): before 1.29.1
- xwiki openid_connect: before 1.29.1

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-m7gv-v8xx-v47w> (third-party-advisory, web)
- <https://github.com/xwiki-contrib/oidc/commit/0247af1417925b9734ab106ad7cd934ee870ac89> (patch, third-party-advisory, web)
- <https://jira.xwiki.org/browse/OIDC-118> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39387> (advisory)
- <https://github.com/xwiki-contrib/oidc> (package)

## Sources

- CVE List: [CVE-2022-39387](https://www.cve.org/CVERecord?id=CVE-2022-39387), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-m7gv-v8xx-v47w](https://github.com/advisories/GHSA-m7gv-v8xx-v47w), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-39387](https://nvd.nist.gov/vuln/detail/CVE-2022-39387), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39387 · Whole record: https://cve.day/CVE-2022-39387.json · Rebuilt by cve.day 2026-11-25T22:58:16.235Z
