CVE-2025-49594 XWiki OIDC Authenticator vulnerable to creation of token for any user with just `view` right
Attackers with view access can generate tokens to impersonate any user if token authentication is enabled, requiring a patch or configuration change.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-49594?
CVE-2025-49594 is a critical authentication bypass vulnerability in xwiki-contrib oidc, published on 6 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-285
Which versions are affected by CVE-2025-49594?
2 open source packages ship an affected version, including org.xwiki.contrib.oidc:oidc-authenticator.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.contrib.oidc:oidc-authenticator Maven | From 2.17.1 | 2.18.2 |
org.xwiki.contrib.oidc:oidc-authenticator Maven | From 2.17.1 | 2.18.2 |
How do I fix CVE-2025-49594?
Upgrade org.xwiki.contrib.oidc:oidc-authenticator to 2.18.2 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2025-49594 being exploited?
There is no known exploitation of CVE-2025-49594 in the wild and no public exploit code.
Sources
Also known as GHSA-f2hf-pfrj-vrm7.