CVE-2025-49594
XWiki OIDC Authenticator vulnerable to creation of token for any user with just `view` right
Also known as GHSA-f2hf-pfrj-vrm7
Mitigation
- Upgrade org.xwiki.contrib.oidc:oidc-authenticator to 2.18.2 or later.
Who should check
- Projects that depend on Maven package org.xwiki.contrib.oidc:oidc-authenticator (>= 2.17.1, < 2.18.2)
- Anyone running xwiki-contrib oidc >= 2.17.1, < 2.18.2
Vulnerability facts
- Affected
- org.xwiki.contrib.oidc:oidc-authenticator >= 2.17.1, < 2.18.2
- Fixed in
- 2.18.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.79% chance of exploitation in 30 days (percentile 53, 2026-11-26)
- CWE
- CWE-285
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.xwiki.contrib.oidc:oidc-authenticator | >= 2.17.1, < 2.18.2 | 2.18.2 | osv |
| xwiki-contrib oidc | >= 2.17.1, < 2.18.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-49594. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-49594.md Affected: org.xwiki.contrib.oidc:oidc-authenticator >= 2.17.1, < 2.18.2 Fixed in: 2.18.2 Steps: 1. Search this machine and project for org.xwiki.contrib.oidc:oidc-authenticator (Maven), xwiki-contrib oidc: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-49594 being exploited?
There is no confirmed exploitation: CVE-2025-49594 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.79% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-49594?
Critical: CVSS 9.2 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-49594?
org.xwiki.contrib.oidc:oidc-authenticator >= 2.17.1, < 2.18.2.
Is there a fix for CVE-2025-49594?
Yes. Fixed in 2.18.2. Upgrade org.xwiki.contrib.oidc:oidc-authenticator to 2.18.2 or later.
How do I check if I'm affected by CVE-2025-49594?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.