CVE-2018-14732: Input Validation

Published Sep 21, 2018
·
Updated

An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:8080/ connection from any origin.

Affected Software

1 affected component
webpack.js webpack-dev-server<3.1.6

Event History

Sep 21, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2018-14732?

CVE-2018-14732 is considered a medium severity vulnerability.

2

How do I fix CVE-2018-14732?

To fix CVE-2018-14732, upgrade webpack-dev-server to version 3.1.6 or later.

3

What types of software are affected by CVE-2018-14732?

CVE-2018-14732 affects versions of webpack-dev-server prior to 3.1.6.

4

What is the impact of CVE-2018-14732?

The impact of CVE-2018-14732 allows attackers to potentially steal developer's code via unverified WebSocket connections.

5

Who can exploit CVE-2018-14732?

Any attacker on the same network can exploit CVE-2018-14732 due to the lack of origin checks on WebSocket requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203