Parcel Origin Validation Error Vulnerability Allowing Code Theft

Vulnerability

An origin validation error vulnerability has been identified in Parcel versions through 2.0.0-alpha. This issue allows malicious websites to send XMLHttpRequests to the application's development server. When developers visit these sites, the response can be intercepted and used to steal source code.

Impact

Exploitation of this vulnerability leads to unauthorized access to a developer's source code.

Reproduction

To reproduce this vulnerability, a developer must be running the Parcel development server, which defaults to port 1234. While the server is active, the developer should visit a malicious website that sends XMLHttpRequests to the server. The response, which contains source code, can then be accessed and stolen.

Remediation

Developers can apply the patch available in Parcel's GitHub repository. If unable to do so, it is advised to avoid visiting untrusted websites while the Parcel development server is running. If necessary, use a proxy to block requests to localhost.

Added: Sep 17, 2025, 7:19 PM
Updated: Sep 17, 2025, 8:31 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
7.7
remediation
0.0
relevance
0.5
threat
6.4
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.