CVE-2025-49594: XWiki OIDC Authenticator vulnerable to creation of token for any user with just `view` right
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
https://jira.xwiki.org/browse/OIDC-240 https://github.com/xwiki-contrib/oidc/commit/d90d717172283aaa96bb5bb44e357f910ae64adb
For more information
If you have any questions or comments about this advisory: Open an issue in Jira XWiki.org Email us at Security Mailing List
Other sources
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.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-49594?
The severity of CVE-2025-49594 is considered high due to the potential for unauthorized token generation by users with VIEW access.
How do I fix CVE-2025-49594?
To fix CVE-2025-49594, upgrade your XWiki OIDC Authenticator to version 2.18.2 or later.
Who is affected by CVE-2025-49594?
All XWiki instances running versions between 2.17.1 and 2.18.2 are affected by CVE-2025-49594.
What are the implications of CVE-2025-49594?
CVE-2025-49594 allows unauthorized users to create access tokens for other users, potentially compromising accounts.
Is token authentication safe with CVE-2025-49594 present?
Token authentication may not be safe if CVE-2025-49594 is present, as it permits users with VIEW access to generate tokens for others.