xwiki-contrib/oidc · Security
XWiki OIDC Authenticator: Users with "view" access can create tokens for any users they can view
- GHSA ID
- GHSA-f2hf-pfrj-vrm7
- CVE ID
- CVE-2025-49594
- Severity
- critical
- Published
- Updated
- CVSS v4
- 9.2 · 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
Description
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
CWEs
- CWE-285 · Improper Authorization
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 ↗