{"id":"CVE-2022-39387","aliases":["CVE-2022-39387","GHSA-m7gv-v8xx-v47w"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki OIDC Authenticator vulnerable to OpenID login bypass due to improper authentication","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nEven if a wiki has an OpenID provider configured through its xwiki.properties, it is possible to provide a third party provider by providing 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.\n\nWith 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\n\n### Patches\n\nPatched in version 1.29.1.\n\n### Workarounds\n\nThere is no workaround, an upgrade of the authenticator is required.\n\n### References\n\nhttps://jira.xwiki.org/browse/OIDC-118\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in Jira XWiki\n* Email us at our security mailing list","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki OIDC tiene varias herramientas para manipular el protocolo OpenID Connect en XWiki. Antes de la versión 1.29.1, incluso si un wiki tiene un proveedor OpenID configurado a través de xwiki.properties, era posible proporcionar sus detalles a un proveedor externo a través de parámetros de solicitud. Luego, se puede omitir por completo la autenticación de XWiki especificando su propio proveedor a través de los parámetros de solicitud oidc.endpoint.* (o usando un proveedor OpenID basado en XWiki con oidc.xwikiprovider. Con el mismo enfoque, también se podría proporcionar un mapeo de grupo específico a través de oidc.groups.mapping que haría que su usuario forme parte automáticamente de XWikiAdminGroup. Este problema ha sido solucionado, actualice a 1.29.1. No hay workaround, se requiere una actualización del autenticador.","source":"nvd"}],"published":"2022-11-04T00:00:00.000Z","modified":"2026-06-17T04:58:15.857Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":"< 1.29.1","status":"affected"}],"vendor":"xwiki-contrib","product":"oidc","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.29.1"}],"ecosystem":"Maven","package":"org.xwiki.contrib.oidc:oidc-authenticator","purl":"pkg:maven/org.xwiki.contrib.oidc/oidc-authenticator","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.29.1"}],"vendor":"xwiki","product":"openid_connect","cpe":"cpe:2.3:a:xwiki:openid_connect:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-m7gv-v8xx-v47w","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki-contrib/oidc/commit/0247af1417925b9734ab106ad7cd934ee870ac89","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/OIDC-118","tags":["issue-tracking","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39387","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki-contrib/oidc","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T15:49:27.635Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39387","url":"https://www.cve.org/CVERecord?id=CVE-2022-39387","licence":"CVE Terms of Use","modified":"2025-04-23T16:40:19.919Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m7gv-v8xx-v47w","url":"https://github.com/advisories/GHSA-m7gv-v8xx-v47w","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:20.653Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39387","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39387","licence":"Public domain","modified":"2026-06-17T04:58:15.857Z"}],"updatedAt":"2026-11-25T22:58:16.235Z","epss":{"score":0.01311,"percentile":0.70796,"date":"2026-11-30T12:00:22.000Z"}}