Vulnerability · Published Oct 6, 2025 · Assigned by GitHub_M
CVE-2025-49594XWiki OIDC Authenticator vulnerable to creation of token for any user with just `view` right
Critical 9.2
In plain English
A critical-severity security flaw in oidc from xwiki-contrib. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.contrib.oidc:oidc-authenticator | 2.18.2 | GHSA-f2hf-pfrj-vrm7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki-contrib | oidc | >= 2.17.1, < 2.18.2 |
Weakness: CWE-285 · 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
References
- https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-f2hf-pfrj-vrm7 x_refsource_CONFIRM
- https://github.com/xwiki-contrib/oidc/commit/d90d717172283aaa96bb5bb44e357f910ae64adb x_refsource_MISC
- https://jira.xwiki.org/browse/OIDC-240 x_refsource_MISC
- https://www.vicarius.io/vsociety/posts/cve-2025-49594-detect-xwiki-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-49594-mitigate-xwiki-vulnerability