# CVE-2025-49594: XWiki OIDC Authenticator vulnerable to creation of token for any user with just `view` right

- Severity: Critical 9.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-10-06T14:48:43.609Z
- Modified: 2026-10-09T10:10:00.193Z
- Also known as: GHSA-f2hf-pfrj-vrm7
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- xwiki-contrib oidc: >= 2.17.1, < 2.18.2
- org.xwiki.contrib.oidc:oidc-authenticator (Maven): from 2.17.1 before 2.18.2

## Every score

- GitHub_M: CVSS:4.0 9.2 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-f2hf-pfrj-vrm7> (web)
- <https://github.com/xwiki-contrib/oidc/commit/d90d717172283aaa96bb5bb44e357f910ae64adb> (web)
- <https://jira.xwiki.org/browse/OIDC-240> (web)
- <https://www.vicarius.io/vsociety/posts/cve-2025-49594-detect-xwiki-vulnerability> (web)
- <https://www.vicarius.io/vsociety/posts/cve-2025-49594-mitigate-xwiki-vulnerability> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-49594> (advisory)
- <https://github.com/xwiki-contrib/oidc> (package)

## Sources

- CVE List: [CVE-2025-49594](https://www.cve.org/CVERecord?id=CVE-2025-49594), CVE Terms of Use, modified 2025-10-23
- GitHub Advisory Database: [GHSA-f2hf-pfrj-vrm7](https://github.com/advisories/GHSA-f2hf-pfrj-vrm7), CC-BY-4.0, modified 2025-10-23
- NVD: [CVE-2025-49594](https://nvd.nist.gov/vuln/detail/CVE-2025-49594), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2025-49594 · Whole record: https://cve.day/CVE-2025-49594.json · Rebuilt by cve.day 2026-11-25T22:59:05.565Z
