Skip to main content

blitz-js blitz EUVDEUVD-2026-31781

| CVE-2026-9520 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-05-26 VulDB GHSA-h2p9-cr4h-px24
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious login URL with XSS payload in 'next' parameter
  2. Delivery
    Deliver crafted link to victim via phishing
  3. Exploit
    Victim loads blitz login page
  4. Execution
    Unsanitized 'next' value executes in browser
  5. Impact
    Steal session token or redirect to phishing page

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attack requires that the target application was scaffolded using the blitz generator with versions 3.0.0-3.0.2, retaining the unmodified LoginForm.tsx template file. The 'Next' redirect parameter must be reflected unsanitized into the page - this is the default behavior in the affected template. Exploitation additionally requires passive user interaction (UI:P): the victim must navigate to the attacker-crafted login URL, meaning the attacker must first deliver the malicious link. No authentication is required by the attacker (PR:N). Exploitation is limited to the victim's browser context - there is no server-side code execution component. The CVSS vector confirms no attack requirements beyond a reachable login endpoint (AT:N, AC:L), but the UI:P requirement meaningfully limits mass automated exploitation.

Impact

The CVSS 4.0 base score of 2.1 is notably low, driven by UI:P (requires victim interaction) and limited impact metrics (VI:L only - no confidentiality or availability impact on either the vulnerable or subsequent systems). EPSS at 0.03% (9th percentile) reinforces low real-world exploitation probability. The vulnerability is not listed in CISA KEV, confirming no confirmed active exploitation at time of analysis. However, a public proof-of-concept exploit exists on GitHub (E:P in the CVSS supplemental metrics), which lowers the barrier for opportunistic use. The combination of PR:N and AC:L means the attack requires no authentication and minimal skill once a victim clicks a crafted link. Despite the low CVSS score, XSS in a login form carries context-specific risk: credential phishing, session token theft via JavaScript, or open-redirect abuse are realistic outcomes that CVSS impact scores may underweight. The absence of a vendor patch (vendor non-responsive to disclosure) is a material risk factor with no official remediation timeline.

Exploit ScenarioDerived

An attacker crafts a URL to a blitz-js login page with a malicious JavaScript payload injected into the 'next' query parameter (e.g., /login?next=javascript:alert(document.cookie)) and distributes this link via phishing email or social media. A victim who clicks the link and lands on the login page triggers execution of the injected script in their browser context, potentially exposing session cookies or redirecting the user to a credential-harvesting page. A public proof-of-concept exploit exists on GitHub, confirming the technique is documented and reproducible.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Cross-site scripting in blitz-js blitz (versions 3.0.0-3.0.2) allows remote attackers to inject malicious scripts via the 'Next' redirect parameter in the LoginForm component's Sign-in flow. The vulnerability requires passive user interaction (a victim must follow a crafted link) and is limited to low-integrity impact on the vulnerable system per CVSS 4.0 scoring. Publicly available exploit code exists (GitHub Gist), though EPSS stands at 0.03% (9th percentile) indicating low observed exploitation probability, and it is not listed in CISA KEV. The vendor did not respond to responsible disclosure, meaning no patch has been released.

RemediationAI

No vendor-released patch has been identified at time of analysis - the vendor did not respond to the responsible disclosure. Developers using blitz 3.0.0-3.0.2 should manually audit and remediate the LoginForm.tsx file in their generated applications. The specific fix is to sanitize or whitelist-validate the 'Next' redirect parameter before reflecting it into the DOM; acceptable values should be restricted to relative paths on the same origin (e.g., reject any value containing 'javascript:', '//', or external hostnames). React's JSX rendering provides some XSS protection when values are rendered as text nodes, but if the 'Next' value is used in an href or dangerouslySetInnerHTML context, explicit encoding or validation is mandatory. As a compensating control, a Content Security Policy (CSP) header restricting inline script execution can reduce XSS exploitability at the cost of additional configuration complexity. Monitor the blitz-js GitHub repository (https://github.com/blitz-js/blitz) for any upstream fix; the public exploit is tracked at https://gist.github.com/TrebledJ/164c7ca6c8208b63e6937bc11984720b.

Affected VersionsENISA

blitz 3.0.2
blitz 3.0.0
blitz 3.0.1

Affected Packages

npm blitz no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code resides in packages/generator/templates/app/src/app/auth/components/LoginForm.tsx within the blitz-js blitz full-stack React framework (CPE: cpe:2.3:a:blitz-js:blitz:*:*:*:*:*:*:*:*). The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored/Reflected XSS). The 'Next' parameter is a standard post-authentication redirect argument common in web auth flows; if its value is reflected into the page DOM without sanitization or encoding, an attacker can inject executable script content. Because this lives in a generator template, every application scaffolded using affected blitz versions likely inherits the vulnerable LoginForm code, potentially broadening the scope beyond a single application.

Know when Blitz gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
May 26, 2026 - 20:07 NVD
MEDIUM LOW
CVSS changed
May 26, 2026 - 20:07 NVD
4.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on blitz (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 3.0.2.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy