{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.0-beta3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0c157e8728f551432d2c9911aabd245221b22129"
            }
          ],
          "repo": "https://github.com/scratch-coding-hut/scratch-coding-hut.github.io",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mmg3-567w-v9j2"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2025-31122",
  "modified": "2026-04-01T23:10:10.906761661Z",
  "published": "2025-03-31T16:58:19.115Z",
  "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"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "scratch-coding-hut.github.io Login Links Generation vulnerability"
}