CVE-2025-49594: xwiki-contrib oidc · Improper Authorization
Affects xwiki-contrib oidcSource CVE Database V5
Not known to be exploited · CVSS 9.2 Critical · fixed in 2.18.2 : patch xwiki-contrib oidc as a priority.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.18.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:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
AI-suggested
1. Immediately upgrade the xwiki-contrib oidc component to version 2.18.2 or later, which contains the patch fixing the improper authorization issue. 2. If immediate patching is not feasible, disable token authentication in the XWiki configuration to prevent token-based logins. 3. Review and restrict VIEW access permissions on user profiles to the minimum necessary, reducing the attack surface. 4. Conduct an audit of recent authentication tokens issued and user activity logs to detect any suspicious access or token creation events. 5. Implement monitoring and alerting for unusual authentication patterns or token usage. 6. Educate administrators and users about the vulnerability and the importance of applying security updates promptly. 7. Consider additional hardening of identity and access management policies, including multi-factor authentication (MFA) where possible. 8. Regularly review and update security configurations related to OIDC and token handling to ensure compliance with best practices.
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.
References
- github.com/xwiki-contrib/oidc/security/advisories/GHSA-f2hf-pfrj-vrm7 (opens in a new tab)
- github.com/xwiki-contrib/oidc/commit/d90d717172283aaa96bb5bb44e357f910ae64adb (opens in a new tab)
- jira.xwiki.org/browse/OIDC-240 (opens in a new tab)
- vicarius.io/vsociety/posts/cve-2025-49594-detect-xwiki-vulnerability (opens in a new tab)
- vicarius.io/vsociety/posts/cve-2025-49594-mitigate-xwiki-vulnerability (opens in a new tab)