Skip to content

Missing Origin Validation in react-scripts@1.x.x #5777

Closed

Description

@tanx

Any chance the security fix will get backported to webpack-dev-server@2.x.x? We're still on react-scripts@1.x.x yet which relies on this version range. Here is the respective issue in webpack-dev-server. Thanks for your consideration.

=== npm audit security report ===                        
                                                                                
# Run  npm install react-scripts@2.1.1  to resolve 1 vulnerability
SEMVER WARNING: Recommended action is a potentially breaking change
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Missing Origin Validation                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ webpack-dev-server                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ react-scripts                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ react-scripts > webpack-dev-server                           │
├───────────────┼─���────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/725                       │
└───────────────┴──────────────────────────────────────────────────────────────┘

Activity

  1. iansu commented on Nov 14, 2018

    @iansu
    Contributor

    It sounds like they are not going to backport the fix. I'm closing this as I don't think there's anything we can do about it.

  2. Timer commented on Nov 15, 2018

    @Timer
    Contributor

    "Steal a developer's source code" -- the source code is public anyways during deployment, this should really be a low/medium security report.

  3. ealexhaywood commented on Dec 31, 2018

    @ealexhaywood

    I am getting the same error using the latest version of CRA 2.1.2. My npm audit says the vulnerability is patched in webpack-dev-server@3.1.11 and react-scripts uses 3.1.9.

  4. armingjazi commented on Jan 1, 2019

    @armingjazi

    guys an update on this is appreciated! webpack-dev-server is not backporting the fix, one possible resolution is to update react to depend on newer version.

  5. locked and limited conversation to collaborators on Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions