CVE-2025-49594: 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.
Published Oct 6, 2025 · Updated Oct 23, 2025
Affected packages
org.xwiki.contrib.oidc:oidc-authenticator
- Ecosystem
- Maven
- Affected
- >= 2.17.1, < 2.18.2
- Fixed in
- 2.18.2
- Check
mvn dependency:tree -Dincludes=org.xwiki.contrib.oidc:oidc-authenticator
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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](mailto:[email protected])
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://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
- https://github.com/advisories/GHSA-f2hf-pfrj-vrm7
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
