{"cve":"CVE-2022-39387","nvd":{"published":"2022-11-04T19:15:10.983","modified":"2026-06-17T04:58:15.857","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-287"],"references":["https://github.com/xwiki-contrib/oidc/commit/0247af1417925b9734ab106ad7cd934ee870ac89","https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-m7gv-v8xx-v47w","https://jira.xwiki.org/browse/OIDC-118","https://github.com/xwiki-contrib/oidc/commit/0247af1417925b9734ab106ad7cd934ee870ac89","https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-m7gv-v8xx-v47w"],"products":["xwiki:openid_connect"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-39387","score":0.00991,"percentile":0.62563,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m7gv-v8xx-v47w","url":"https://osv.dev/vulnerability/GHSA-m7gv-v8xx-v47w","summary":"XWiki OIDC Authenticator vulnerable to bypassing OpenID login by providing a custom provider","modified":"2023-11-08T04:10:20.653987Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.contrib.oidc:oidc-authenticator","purl":"pkg:maven/org.xwiki.contrib.oidc/oidc-authenticator","ranges":["<1.29.1"],"fixed":["1.29.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}