{"id":"CVE-2025-31122","summary":"scratch-coding-hut.github.io Login Links Generation vulnerability","details":"scratch-coding-hut.github.io is the website for Coding Hut. In 1.0-beta3 and earlier, the login link can be used to login to any account by changing the username in the username field.","aliases":["GHSA-mmg3-567w-v9j2"],"modified":"2026-04-02T12:46:46.837478Z","published":"2025-03-31T16:58:19.115Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-287","CWE-290"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31122.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31122.json"},{"type":"ADVISORY","url":"https://github.com/Scratch-Coding-Hut/Scratch-Coding-Hut/security/advisories/GHSA-mmg3-567w-v9j2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31122"},{"type":"REPORT","url":"https://github.com/Scratch-Coding-Hut/Scratch-Coding-Hut.github.io/issues/56"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/scratch-coding-hut/scratch-coding-hut.github.io","events":[{"introduced":"0"},{"last_affected":"0c157e8728f551432d2c9911aabd245221b22129"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.0-beta3"}]}}],"versions":["1.0-beta","1.0-beta2","1.0-beta3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31122.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}]}