CVE-2025-56648: Parcel has an Origin Validation Error vulnerability
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.
Published Sep 17, 2025 · Updated Apr 13, 2026
Affected packages
@parcel/reporter-dev-server
- Ecosystem
- npm
- Affected
- >= 1.6.1, <= 2.16.3
- Fixed in
- 2.16.4
- Check
npm ls @parcel/reporter-dev-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to R4356th, G-Rath, Pomax.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-56648
- https://github.com/parcel-bundler/parcel/issues/10216
- https://gist.github.com/R4356th/41f468def606b2406e36f7193f5322b8
- https://github.com/parcel-bundler/parcel/discussions/10089
- https://github.com/parcel-bundler/parcel/pull/10138
- https://github.com/parcel-bundler/parcel/commit/4bc56e3242a85491c7edf589966e9b44c6330c49
- https://github.com/parcel-bundler/parcel/commit/9e2f6f1377123cff3b82f6dde4e20336efc846a1
- https://github.com/advisories/GHSA-qm9p-f9j5-w83w
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
