{"id":"CVE-2025-49594","aliases":["CVE-2025-49594","GHSA-f2hf-pfrj-vrm7"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki OIDC Authenticator vulnerable to creation of token for any user with just `view` right","summary":"XWiki OIDC has various tools to manipulate OpenID Connect protocol in XWiki. Starting in version 2.17.1 and prior to version 2.18.2, anyone with VIEW access to a user profile can create a token for that user. If that XWiki instance is configured to allow token authentication, it allows authentication with any user (since users are very commonly viewable, at least to other registered users). Version 2.18.2 contains a patch. As a workaround, disable token access.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XWiki OIDC has various tools to manipulate OpenID Connect protocol in XWiki. Starting in version 2.17.1 and prior to version 2.18.2, anyone with VIEW access to a user profile can create a token for that user. If that XWiki instance is configured to allow token authentication, it allows authentication with any user (since users are very commonly viewable, at least to other registered users). Version 2.18.2 contains a patch. As a workaround, disable token access.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAnyone with VIEW access to a user profile can create a token for that user. If that XWiki instance is configured to allow token authentication, it allows authentication with any user (since users are very commonly viewable, at least to other registered users).\n\n### Patches\n\nVersion 2.18.2.\n\n### Workarounds\n\nThe only workaround is to disable token access.\n\n### References\n\n* https://jira.xwiki.org/browse/OIDC-240\n* https://github.com/xwiki-contrib/oidc/commit/d90d717172283aaa96bb5bb44e357f910ae64adb\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki OIDC tiene varias herramientas para manipular el protocolo OpenID Connect en XWiki. A partir de la versión 2.17.1 y antes de la versión 2.18.2, cualquier persona con acceso VIEW a un perfil de usuario puede crear un token para ese usuario. Si esa instancia de XWiki está configurada para permitir la autenticación por token, permite la autenticación con cualquier usuario (ya que los usuarios son muy comúnmente visibles, al menos para otros usuarios registrados). La versión 2.18.2 contiene un parche. Como solución alternativa, deshabilite el acceso por token.","source":"nvd"}],"published":"2025-10-06T14:48:43.609Z","modified":"2026-10-09T10:10:00.193Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"CRITICAL"}],"cwes":["CWE-285"],"affected":[{"ranges":[{"version":">= 2.17.1, < 2.18.2","status":"affected"}],"vendor":"xwiki-contrib","product":"oidc","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.17.1","status":"affected","fixed":"2.18.2"}],"ecosystem":"Maven","package":"org.xwiki.contrib.oidc:oidc-authenticator","purl":"pkg:maven/org.xwiki.contrib.oidc/oidc-authenticator","source":"ghsa"}],"references":[{"url":"https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-f2hf-pfrj-vrm7","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki-contrib/oidc/commit/d90d717172283aaa96bb5bb44e357f910ae64adb","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/OIDC-240","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-49594-detect-xwiki-vulnerability","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-49594-mitigate-xwiki-vulnerability","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49594","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":"total","date":"2025-10-06T14:56:03.840Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-49594","url":"https://www.cve.org/CVERecord?id=CVE-2025-49594","licence":"CVE Terms of Use","modified":"2025-10-23T13:16:52.688Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f2hf-pfrj-vrm7","url":"https://github.com/advisories/GHSA-f2hf-pfrj-vrm7","licence":"CC-BY-4.0","modified":"2025-10-23T17:43:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-49594","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49594","licence":"Public domain","modified":"2026-10-09T10:10:00.193Z"}],"updatedAt":"2026-11-25T22:59:05.565Z","epss":{"score":0.00442,"percentile":0.40147,"date":"2026-12-01T12:00:22.000Z"}}