CVE-2018-14731: Missing Origin Validation in parcel-bundler

parcel-bundler Updated 02 Oct 2025

Summary

30/10/2018
Yes i
High
7.5

CVE-2018-14731: Missing Origin Validation in parcel-bundler. Affects parcel-bundler versions < 1.10.0. Fixed in 1.10.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The parcel-bundler package is an open-source JavaScript bundler that is commonly used for web development. It allows developers to bundle their code and assets into optimized bundles for deployment. The package includes a websocket server that is used for Hot Module Replacement (HMR), a feature that enables developers to see changes in their code without refreshing the page. However, versions of parcel-bundler before 1.10.0 are vulnerable to a missing origin validation issue on the websocket server.

Vulnerability Detail

The missing origin validation vulnerability in parcel-bundler allows a remote attacker to steal a developer's source code. This occurs because the origin of requests to the websocket server used for HMR is not properly validated. An attacker can exploit this vulnerability by sending malicious requests to the websocket server and intercepting the developer's source code. The impact of this vulnerability is significant as it exposes sensitive source code, potentially leading to intellectual property theft or unauthorized access to sensitive information.

How To Fix

Minimum fixed version

1.10.0

This is the first release that contains the fix.

npm install parcel-bundler@1.10.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The missing origin validation vulnerability in parcel-bundler exposes developers to the risk of source code theft. It is crucial to update to version 1.10.0 or later to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for parcel-bundler →

Share this vulnerability

FAQ

parcel-bundler is an open-source JavaScript bundler used for web development. It helps developers bundle their code and assets into optimized bundles for deployment.

Hot Module Replacement (HMR) is a feature provided by parcel-bundler that allows developers to see changes in their code without refreshing the page. It improves the development workflow by providing instant feedback on code changes.

The missing origin validation vulnerability in parcel-bundler allows a remote attacker to steal a developer's source code. This can lead to intellectual property theft or unauthorized access to sensitive information.

To fix the vulnerability, update parcel-bundler to version 1.10.0 or later. This update includes the necessary origin validation on the websocket server.

No specific workaround is mentioned for this vulnerability. It is recommended to update to the fixed version of parcel-bundler.

Related vulnerabilities

Recent vulnerabilities recorded for parcel-bundler.

How To Fix

Minimum fixed version

1.10.0

This is the first release that contains the fix.

npm install parcel-bundler@1.10.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.