Impact
A weakness in Blitz’s Sign‑In component—specifically in the file packages/generator/templates/app/src/app/auth/components/LoginForm.tsx—allows an attacker to inject arbitrary JavaScript via the Next parameter. The injected payload is rendered without proper escaping, leading to a cross‑site scripting condition. This flaw can be exploited remotely by supplying a crafted Next value in an HTTP request to the login page.
Affected Systems
The vulnerability affects versions of blitz‑js Blitz up to and including 3.0.2. No enhancement is available for later releases. The issue resides in the LoginForm.tsx component of the Blitz authentication flow.
Risk and Exploitability
The CVSS score of 5.3 indicates a moderate severity. EPSS information is not available, and the flaw is not listed in CISA KEV. Attackers can reach the vulnerable code remotely, and public exploit code has been released, raising the likelihood of real‑world attacks. The primary risk is the potential execution of malicious script in the context of the user’s browser, which could lead to data disclosure or manipulation if the attacker succeeds.
OpenCVE Enrichment