Vulnerabilities in pkg:npm/@parcel/reporter-dev-server

PACKAGE
Advisory Identifier: GHSA-qm9p-f9j5-w83w
Advisory Summary

CVE-2025-56648 is a MODERATE (CVSS 6.5) remote code execution vulnerability (CWE-346: Origin Validation Error) affecting @parcel/reporter dev server libraries in the npm ecosystem. The issue involves parcel has an origin validation error vulnerability. Remediation is available by upgrading affected packages to version 2.16.4.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@parcel/reporter-dev-server

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@parcel/reporter-dev-server. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-qm9p-f9j5-w83w CVE-2025-56648 MODERATE Parcel has an Origin Validation Error vulnerability

CVE-2025-56648 at a Glance

CVE Identifier CVE-2025-56648
GHSA Identifier GHSA-qm9p-f9j5-w83w
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-346: Origin Validation Error
Affected Product @parcel/reporter dev server
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.5

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:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-56648

To remediate this vulnerability, upgrade all affected @parcel/reporter dev server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@parcel/reporter-dev-server fixed: 2.16.4
npm install @parcel/reporter-dev-server@2.16.4
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 @parcel/reporter-dev-server

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-56648, inspect your project dependencies using npm:

npm ls @parcel/reporter-dev-server

Analyze the terminal output to locate any version of @parcel/reporter dev server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.16.4), your application is affected.

Note: The npm ls @parcel/reporter-dev-server 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-346: Origin Validation Error, where the product does not properly verify that the source of data or communication is valid. In @parcel/reporter dev server, 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

parcel versions 1.6.1 and above have an Origin Validation Error vulnerability. Malicious websites can send XMLHTTPRequests to the application's development server and read the response to steal source code when developers visit them. Version 2.16.4 supports a `--no-cors` option which disables CORS headers in the dev server.

CVE-2025-56648 Affected @parcel/reporter dev server Versions

1 component(s)
Fixed Versions:
2.16.4
Product / Package Ecosystem Affected Versions Fixed Version
@parcel/reporter-dev-server
npm
≥ 1.6.1
< 2.16.4
2.16.4

References

Frequently Asked Questions

What is CVE-2025-56648?
CVE-2025-56648 is a security vulnerability in @parcel/reporter dev server involving Parcel has an Origin Validation Error vulnerability under CWE-346: Origin Validation Error.
Which @parcel/reporter dev server versions are affected?
Affected versions include releases prior to 2.16.4 across affected packages: @parcel/reporter-dev-server.
What version fixes CVE-2025-56648?
Upgrading to 2.16.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @parcel/reporter-dev-server affected?
Yes, @parcel/reporter-dev-server is affected in releases prior to 2.16.4. Upgrade your dependency to 2.16.4 or later.
What is the CVSS score of CVE-2025-56648?
CVE-2025-56648 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-56648?
CVE-2025-56648 is classified under CWE-346: Origin Validation Error (The product does not properly verify that the source of data or communication is valid.).
How can I check npm dependencies for CVE-2025-56648?
Run the dependency tree command: 'npm ls @parcel/reporter-dev-server'. 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-qm9p-f9j5-w83w",
  "modified" : "2026-04-13T18:49:40Z",
  "published" : "2025-09-17T21:30:42Z",
  "aliases" : [ "CVE-2025-56648" ],
  "summary" : "Parcel has an Origin Validation Error vulnerability",
  "details" : "parcel versions 1.6.1 and above have an Origin Validation Error vulnerability. Malicious websites can send XMLHTTPRequests to the application's development server and read the response to steal source code when developers visit them. Version 2.16.4 supports a `--no-cors` option which disables CORS headers in the dev server.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@parcel/reporter-dev-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.6.1"
      }, {
        "fixed" : "2.16.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.16.3"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-56648"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/parcel-bundler/parcel/issues/10216"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/parcel-bundler/parcel/pull/10138"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/parcel-bundler/parcel/commit/4bc56e3242a85491c7edf589966e9b44c6330c49"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/parcel-bundler/parcel/commit/9e2f6f1377123cff3b82f6dde4e20336efc846a1"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/R4356th/41f468def606b2406e36f7193f5322b8"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/parcel-bundler/parcel"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/parcel-bundler/parcel/discussions/10089"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-346" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-18T17:15:13Z",
    "nvd_published_at" : "2025-09-17T19:15:46Z"
  }
}