Vulnerabilities in pkg:npm/@jswork/next-npm-version
PACKAGECVE-2025-63706 is a CRITICAL (CVSS 9.8) next-npm-version is vulnerable to command vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting @jswork/next npm version libraries in the npm ecosystem. The issue involves next-npm-version is vulnerable to command injection. Remediation is available in the latest vendor maintenance releases.
pkg:npm/@jswork/next-npm-version
Vulnerability advisories affecting package pkg:npm/@jswork/next-npm-version. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2xx6-qf7x-grqh | CVE-2025-63706 | CRITICAL | next-npm-version is vulnerable to Command injection |
CVE-2025-63706 at a Glance
Security Impact
CVSS: 9.8
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:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-63706
To remediate this vulnerability, upgrade all affected @jswork/next npm version 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 @jswork/next-npm-version@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @jswork/next-npm-version
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-63706, inspect your project dependencies using npm:
npm ls @jswork/next-npm-version
Analyze the terminal output to locate any version of @jswork/next npm version 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 @jswork/next-npm-version 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In @jswork/next npm version, 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-2025-63706 Affected @jswork/next npm version Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@jswork/next-npm-version
|
npm |
1.0.1
All 1 versions
1.0.1
|
None specified
|
References
Frequently Asked Questions
What is CVE-2025-63706?
Which @jswork/next npm version versions are affected?
What version fixes CVE-2025-63706?
Is @jswork/next-npm-version affected?
What is the CVSS score of CVE-2025-63706?
What CWE is associated with CVE-2025-63706?
How can I check npm dependencies for CVE-2025-63706?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2xx6-qf7x-grqh",
"modified" : "2026-05-12T16:19:02Z",
"published" : "2026-05-07T15:38:41Z",
"aliases" : [ "CVE-2025-63706" ],
"summary" : "next-npm-version is vulnerable to Command injection",
"details" : "NPM package next-npm-version1.0.1 is vulnerable to Command injection.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@jswork/next-npm-version"
},
"versions" : [ "1.0.1" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-63706"
}, {
"type" : "WEB",
"url" : "https://github.com/afeiship/next-npm-version/issues/1"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/6en6ar/607368f1fc8fe429f03c6e0d9486ba72"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/afeiship/next-npm-version"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/package/@jswork/next-npm-version"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-12T16:19:02Z",
"nvd_published_at" : "2026-05-07T15:16:04Z"
}
}