{"id":"CVE-2026-34460","summary":"NamelessMC: OAuth callback `state` is not validated, allowing login CSRF / session swapping","details":"NamelessMC is website software for Minecraft servers. In versions 2.2.4 and prior, the OAuth callback handling does not validate the state parameter server-side before exchanging the authorization code. This allows an attacker to capture a valid OAuth callback URL for their own account and cause a victim's browser to navigate to it, resulting in the victim's session being authenticated as the attacker-linked account (OAuth login CSRF / session swapping). This is patched in version 2.2.5.","aliases":["GHSA-pmpw-2xvh-5xj6"],"modified":"2026-07-08T08:12:50.162902339Z","published":"2026-06-02T15:29:14.648Z","database_specific":{"cwe_ids":["CWE-302","CWE-346","CWE-352"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34460.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34460.json"},{"type":"ADVISORY","url":"https://github.com/NamelessMC/Nameless/security/advisories/GHSA-pmpw-2xvh-5xj6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34460"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/namelessmc/nameless","events":[{"introduced":"0"},{"fixed":"e0daffa8d777f5aab5625c984961e84dbdf0282f"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.2.5"}],"source":"AFFECTED_FIELD"}}],"versions":["v2.2.4","v2.2.3","v2.2.2","v2.2.1","v2.0.2","v2.0.1","v2.0.0","v2.0.0-pr13","v2.0.0-pr11","v2.0.0-pr10","v2.0.0-pr8","v2.0.0-pr7","v2.0.0-pr6","v2.0.0-pr5","v2.0.0-pr4","v2.0.0-pr3","v2.0.0-pr2","v2.0.0-pr1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34460.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}