XWiki OIDC Authenticator vulnerable to creation of token for any user with just `view` right
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-285.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | oidc | 2.17.1 to before 2.18.2 | 2.18.2 | Patch available | CNA |
| — | org.xwiki.contrib.oidc:oidc-authenticator (Maven) | 2.17.1 to before 2.18.2 | 2.18.2 | Patch available | GHSA-f2hf-pfrj-vrm7 |
- oidc VendorXWiki Affected 2.17.1 to before 2.18.2 Fixed in 2.18.2 Patch available CNA
- org.xwiki.contrib.oidc:oidc-authenticator (Maven) Vendor— Affected 2.17.1 to before 2.18.2 Fixed in 2.18.2 Patch available GHSA-f2hf-pfrj-vrm7
Remediation
- Fix · CNA oidc (xwiki-contrib) Fixed in 2.18.2
- Fix · GHSA-f2hf-pfrj-vrm7 org.xwiki.contrib.oidc:oidc-authenticator (Maven) Fixed in 2.18.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-49594
- 2026-10-03 Alias added: GHSA-f2hf-pfrj-vrm7
References
Other 6
- https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-f2hf-pfrj-vrm7
- https://github.com/xwiki-contrib/oidc/commit/d90d717172283aaa96bb5bb44e357f910ae64adb
- https://jira.xwiki.org/browse/OIDC-240
- https://github.com/xwiki-contrib/oidc
- https://www.vicarius.io/vsociety/posts/cve-2025-49594-detect-xwiki-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-49594-mitigate-xwiki-vulnerability
More XWiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2025-49594 · CVE Program
- CVE-2025-49594 · NVD
- FIRST EPSS
- GHSA-f2hf-pfrj-vrm7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences