{"id":"CVE-2025-31122","state":"PUBLISHED","title":"scratch-coding-hut.github.io Login Links Generation vulnerability","description":"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.","publishedAt":"2025-03-31T16:58:19.115Z","updatedAt":"2025-03-31T18:24:55.778Z","severity":{"score":9,"label":"Critical","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["Scratch-Coding-Hut Scratch-Coding-Hut"],"affected":[{"vendor":"Scratch-Coding-Hut","product":"Scratch-Coding-Hut","versions":[{"version":"<= 1.0-beta3","status":"affected"}]}],"references":["https://github.com/Scratch-Coding-Hut/Scratch-Coding-Hut/security/advisories/GHSA-mmg3-567w-v9j2","https://github.com/Scratch-Coding-Hut/Scratch-Coding-Hut.github.io/issues/56"],"weaknesses":["CWE-287","CWE-290"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/31xxx/CVE-2025-31122.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-31122","state":"PUBLISHED","datePublished":"2025-03-31T16:58:19.115Z","dateUpdated":"2025-03-31T18:24:55.778Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-03-26T15:04:52.625Z"},"containers":{"cna":{"title":"scratch-coding-hut.github.io Login Links Generation vulnerability","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Scratch-Coding-Hut","product":"Scratch-Coding-Hut","versions":[{"version":"<= 1.0-beta3","status":"affected"}]}],"references":[{"url":"https://github.com/Scratch-Coding-Hut/Scratch-Coding-Hut/security/advisories/GHSA-mmg3-567w-v9j2","name":"https://github.com/Scratch-Coding-Hut/Scratch-Coding-Hut/security/advisories/GHSA-mmg3-567w-v9j2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Scratch-Coding-Hut/Scratch-Coding-Hut.github.io/issues/56","name":"https://github.com/Scratch-Coding-Hut/Scratch-Coding-Hut.github.io/issues/56","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":9,"baseSeverity":"CRITICAL","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-290","lang":"en","description":"CWE-290: Authentication Bypass by Spoofing","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-03-31T16:58:19.115Z"},"source":{"advisory":"GHSA-mmg3-567w-v9j2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-31T18:24:46.787648Z","id":"CVE-2025-31122","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-31T18:24:55.778Z"}}]}}}