XWiki OIDC Authenticator: Users with "view" access can create tokens for any users they can view
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.xwiki.contrib.oidc:oidc-authenticator | >= 2.17.1, < 2.18.2 | 2.18.2 |
References
- https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-f2hf-pfrj-vrm7
- https://nvd.nist.gov/vuln/detail/CVE-2025-49594
- https://github.com/xwiki-contrib/oidc/commit/d90d717172283aaa96bb5bb44e357f910ae64adb
- https://github.com/xwiki-contrib/oidc
- https://jira.xwiki.org/browse/OIDC-240
- https://www.vicarius.io/vsociety/posts/cve-2025-49594-detect-xwiki-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-49594-mitigate-xwiki-vulnerability
- CVSS 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- Weakness (CWE)
CWE-285- Platform
- Java / Kotlin (Maven)
- Package
org.xwiki.contrib.oidc:oidc-authenticator- Disclosed
- 06.10.2025
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-f2hf-pfrj-vrm7 - CC BY 4.0
Vulnerability history: org.xwiki.contrib.oidc:oidc-authenticator
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 11.2022 10.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 0
-
XWiki OIDC Authenticator: Users with "view" access can create tokens for any users they can view this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.