CVE-2025-49594
JSON

9.2critical

XWiki OIDC Authenticator vulnerable to creation of token for any user with just `view` right

Severity
9.2critical CVSS:4.0 by GitHub_M
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-f2hf-pfrj-vrm7

Description

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.

Affected

Product or packageVersionsReported by
xwiki-contrib oidc>= 2.17.1, < 2.18.2CVE List
org.xwiki.contrib.oidc:oidc-authenticator (Maven)from 2.17.1 before 2.18.2GitHub Advisory Database

All scores

GitHub_M9.2critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-285

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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).

Patches

Version 2.18.2.

Workarounds

The only workaround is to disable token access.

References
For more information

If you have any questions or comments about this advisory:

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-49594 changed 2025-10-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-f2hf-pfrj-vrm7 changed 2025-10-23CC-BY-4.0
NVDCVE-2025-49594 changed 2026-10-09Public domain