CVE-2026-9520 Details
Description
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.
A cross-site scripting (XSS) vulnerability has been identified in Blitz.js versions through 3.0.2. The issue arises in the LoginForm component, where the application improperly validates a URL parameter before using it for redirection. This flaw allows attackers to inject malicious JavaScript that is executed in the context of the user's browser, potentially leading to credential theft or unauthorized actions on behalf of the user.
To address this vulnerability, validate and sanitize the `next` parameter before using it for redirection. Ensure that the redirect path stays within the same origin and uses a safe scheme, such as HTTP or HTTPS.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 26, 2026CISA-ADP
Assessed May 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/TrebledJ/164c7ca6c8208b63e6937bc11984720b | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/814378 | [email protected] | Permission Required |
| https://vuldb.com/vuln/365540 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/365540/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| blitz-js blitz | <= 3.0.2 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | New CVE Received | [email protected] |
Volerion