GHSA-cf66-xwfp-gvc4

Suggest an improvement
Source
https://github.com/advisories/GHSA-cf66-xwfp-gvc4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-cf66-xwfp-gvc4/GHSA-cf66-xwfp-gvc4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cf66-xwfp-gvc4
Aliases
Published
2019-01-04T17:40:59Z
Modified
2023-11-08T03:59:56.988012Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Missing Origin Validation in webpack-dev-server
Details

Versions of webpack-dev-server before 3.1.10 are missing origin validation on the websocket server. This vulnerability allows a remote attacker to steal a developer's source code because the origin of requests to the websocket server that is used for Hot Module Replacement (HMR) are not validated.

Recommendation

For webpack-dev-server update to version 3.1.11 or later.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:31:15Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-20"
    ]
}
References

Affected packages

npm / webpack-dev-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.11