Vulnerabilities in pkg:npm/@jswork/next-npm-version

PACKAGE
Advisory Identifier: GHSA-2xx6-qf7x-grqh
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@jswork/next-npm-version

1 Known Advisory Record(s)

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

CVE Identifier CVE-2025-63706
GHSA Identifier GHSA-2xx6-qf7x-grqh
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product @jswork/next npm version
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

@jswork/next-npm-version fixed: Latest secure release
npm install @jswork/next-npm-version@Latest secure release
Verify Direct and Transitive Dependencies

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

NPM package next-npm-version1.0.1 is vulnerable to Command injection.

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?
CVE-2025-63706 is a security vulnerability in @jswork/next npm version involving next-npm-version is vulnerable to Command injection under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which @jswork/next npm version versions are affected?
Affected versions include releases prior to current release patches across affected packages: @jswork/next-npm-version.
What version fixes CVE-2025-63706?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is @jswork/next-npm-version affected?
Yes, @jswork/next-npm-version is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-63706?
CVE-2025-63706 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-63706?
CVE-2025-63706 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (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.).
How can I check npm dependencies for CVE-2025-63706?
Run the dependency tree command: 'npm ls @jswork/next-npm-version'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}