{"answers":{"affected":"2 open source packages ship an affected version, including org.xwiki.contrib.oidc:oidc-authenticator.","exploited":"There is no known exploitation of CVE-2025-49594 in the wild and no public exploit code.","fix":"Upgrade org.xwiki.contrib.oidc:oidc-authenticator to 2.18.2 or later.","what":"CVE-2025-49594 is a critical authentication bypass vulnerability in xwiki-contrib oidc, published on 6 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-49594 and fix it if it is affected.\n\nWhat it is: CVE-2025-49594 is a critical authentication bypass vulnerability in xwiki-contrib oidc, published on 6 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-49594 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.xwiki.contrib.oidc:oidc-authenticator (Maven): affected from 2.17.1; fixed in 2.18.2\n- org.xwiki.contrib.oidc:oidc-authenticator (Maven): affected from 2.17.1; fixed in 2.18.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-49594/ (Markdown: https://insights.sbomify.com/CVE-2025-49594/index.md)","id":"CVE-2025-49594","markdown":"https://insights.sbomify.com/CVE-2025-49594/index.md","name":"CVE-2025-49594","record":{"aliases":["GHSA-f2hf-pfrj-vrm7"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"XWiki OIDC plugin","requires_auth":"none","summary":"Attackers with view access can generate tokens to impersonate any user if token authentication is enabled, requiring a patch or configuration change.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.2,"severity":"critical","source":"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","version":"4.0"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"XWiki OIDC Authenticator vulnerable to creation of token for any user with just `view` right","id":"CVE-2025-49594","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"n8n Vulnerable to Denial of Service via Malformed Binary Data Requests","id":"CVE-2025-49595"},"packages":[{"ecosystem":"Maven","fixed":["2.18.2"],"introduced":["2.17.1"],"last_affected":[],"package":"org.xwiki.contrib.oidc:oidc-authenticator","purl":null,"source":"GHSA-f2hf-pfrj-vrm7"},{"ecosystem":"Maven","fixed":["2.18.2"],"introduced":["2.17.1"],"last_affected":[],"package":"org.xwiki.contrib.oidc:oidc-authenticator","purl":"pkg:maven/org.xwiki.contrib.oidc/oidc-authenticator","source":"GHSA-f2hf-pfrj-vrm7"}],"prev":{"headline":"Portainer HTTP Headers May Leak to Malicious Container Registries","id":"CVE-2025-49593"},"products":["oidc"],"published":"2025-10-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-23","vendors":["xwiki-contrib"]},"summary":"Attackers with view access can generate tokens to impersonate any user if token authentication is enabled, requiring a patch or configuration change.","url":"https://insights.sbomify.com/CVE-2025-49594/"}