CVE-2026-9520: blitz-js blitz Sign-in LoginForm.tsx cross site scripting
A weakness has been identified in blitz-js blitz up to 3.0.2 on GitHub. This impacts an unknown function of the file packages/generator/templates/app/src/app/auth/components/LoginForm.tsx of the component Sign-in. This manipulation of the argument Next causes cross site scripting. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
CVE-2026-9520 is a medium-severity issue in blitz-js Blitz sign-in code. A manipulated Next argument in LoginForm.tsx can lead to cross-site scripting. The business risk is session abuse or misleading sign-in flows if affected generated code is present. Public exploit material exists, but the provided sources do not show active exploitation.
Executive priority
Treat as a targeted web-app hygiene issue, not a crisis. Prioritize applications using Blitz authentication templates, especially internet-facing sign-in pages. Public exploit availability raises urgency, but medium severity, user interaction, and lack of KEV evidence keep this below emergency response level.
Technical view
Sources describe XSS in packages/generator/templates/app/src/app/auth/components/LoginForm.tsx for Blitz 3.0.0 through 3.0.2. The issue involves handling of the Next argument in the Sign-in component. CVSS v4.0 is 5.3 with network attack vector, low complexity, no privileges, and user interaction required. CWE-79 and CWE-94 are listed.
Likely exposure
Exposure appears limited to Blitz 3.0.0, 3.0.1, and 3.0.2 users, especially applications using the generated sign-in LoginForm.tsx template. Because generated files may be copied into applications, dependency version alone may not fully prove or disprove exposure.
Exploitation context
The source bundle says exploit material is public and remote attack initiation is possible. CVSS requires user interaction, and KEV is false. No cited source in the bundle confirms active exploitation in the wild.
Researcher notes
The public record is incomplete: the vulnerable function is unnamed, no vendor response is reported, and no patch is identified in the provided sources. Validate exposure in generated application code, not only package metadata. Avoid assuming active attacks without additional evidence.
Mitigation direction
Inventory Blitz versions and generated auth components across applications.
Check vendor guidance and upgrade when an official fixed release is available.
Audit LoginForm.tsx handling of Next or redirect parameters.
Restrict redirect targets to trusted internal paths only.
Ensure reflected values are encoded or not rendered into executable contexts.
Validation and detection
Review lockfiles for Blitz 3.0.0, 3.0.1, or 3.0.2.
Search generated application code for LoginForm.tsx sign-in components.
Confirm Next parameter handling cannot inject script-capable content.
Verify sign-in redirects reject external or malformed destinations.
Check security monitoring for suspicious sign-in redirect or XSS reports.
Based on public source material and reviewed before publication.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve
time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present,
the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation
Improper Neutralization of Input During Web Page Generation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.