Vulnerabilities in pkg:npm/blitz
PACKAGECVE-2026-9520 is a LOW (CVSS 4.3) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Blitz libraries in the npm ecosystem. The issue involves blitz has a cross-site scripting issue. Remediation is available in the latest vendor maintenance releases.
pkg:npm/blitz
Vulnerability advisories affecting package pkg:npm/blitz. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-h2p9-cr4h-px24 | CVE-2026-9520 | LOW | Blitz has a Cross-site Scripting issue |
| GHSA-5888-ffcr-r425 | CVE-2022-23631 | CRITICAL | Prototype Pollution leading to Remote Code Execution in superjson |
CVE-2026-9520 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).
How to Fix CVE-2026-9520
To remediate this vulnerability, upgrade all affected Blitz dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install blitz@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls blitz
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-9520, inspect your project dependencies using npm:
npm ls blitz
Analyze the terminal output to locate any version of Blitz in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls blitz command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Blitz, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-9520 Affected Blitz Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
blitz
|
npm |
≤ 3.0.2
|
|
References
Frequently Asked Questions
What is CVE-2026-9520?
Which Blitz versions are affected?
What version fixes CVE-2026-9520?
Is blitz affected?
What is the CVSS score of CVE-2026-9520?
What CWE is associated with CVE-2026-9520?
How can I check npm dependencies for CVE-2026-9520?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h2p9-cr4h-px24",
"modified" : "2026-06-30T17:39:56Z",
"published" : "2026-05-26T13:30:53Z",
"aliases" : [ "CVE-2026-9520" ],
"summary" : "Blitz has a Cross-site Scripting issue",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "blitz"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-9520"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/TrebledJ/164c7ca6c8208b63e6937bc11984720b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/blitz-js/blitz"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/submit/814378"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/365540"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/365540/cti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-30T17:39:56Z",
"nvd_published_at" : "2026-05-26T02:16:40Z"
}
}