You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Snyk Vulnerabilities on react-scripts@5.0.1 #13062
This has been discussed many, many times. The CRA devs don't care about vulnerabilities and won't do anything to fix it. If you care, stop using CRA. CRA is officially no longer a recommended project for creating React apps. Use something else.
If you want a close to 1-to-1 experience to CRA, then use Vite. This command can get you started: npm create vite@latest my_project -- --template react-ts
Have you ever meet this question?
Affected versions of this package are vulnerable to Sandbox Bypass when ImportParserPlugin.js mishandles magic comments to allow cross-realm object access. An attacker who controls a property of an untrusted object can access the real global object.
We're part of a startup called Seal Security that mitigates software vulnerabilities in older open source versions by backporting/creating standalone security patches - enabling more straightforward remediation in cases like this. We created an nth-check 1.02-sp1 that's vulnerability-free. As with all of our patches, it's open-source and available for free.
If relevant, check out our GitHub repo if you wish to learn more, or start using our app.
Please feel free to reach us at info@seal.security if you have any requests/questions.
Activity
michaelssavage commentedon Mar 16, 2023
Would adding the following to your package.json work?
getsalty commentedon Mar 17, 2023
Edit: the article Dan Abramov (dev) wrote about the vulnerabilities (TLDR: they don't think its an issue and won't fix it) https://overreacted.io/npm-audit-broken-by-design/
This has been discussed many, many times. The CRA devs don't care about vulnerabilities and won't do anything to fix it. If you care, stop using CRA. CRA is officially no longer a recommended project for creating React apps. Use something else.
If you want a close to 1-to-1 experience to CRA, then use Vite. This command can get you started:
npm create vite@latest my_project -- --template react-tsIf you want to go down the framework route, then use a suggestion from React's official docs: https://react.dev/learn/start-a-new-react-project
giwiro commentedon Apr 14, 2023
It did the trick for me. Thanks.
burakd81 commentedon May 31, 2023
tenks its working <3
arifsoer commentedon Jun 5, 2023
this one doesn't work for me..
anyone has other suggestion?
Gaurav-Sodhani commentedon Jun 13, 2023
Make sure you run 'npm audit fix' in your terminal after adding this to package.json
Hope it works!
CoderAWei commentedon Jun 28, 2023
Have you ever meet this question?
Affected versions of this package are vulnerable to Sandbox Bypass when ImportParserPlugin.js mishandles magic comments to allow cross-realm object access. An attacker who controls a property of an untrusted object can access the real global object.
AlonNavon commentedon Aug 1, 2023
Hey @velsonjr @michaelssavage @arifsoer,
We're part of a startup called Seal Security that mitigates software vulnerabilities in older open source versions by backporting/creating standalone security patches - enabling more straightforward remediation in cases like this. We created an
nth-check 1.02-sp1that's vulnerability-free. As with all of our patches, it's open-source and available for free.If relevant, check out our GitHub repo if you wish to learn more, or start using our app.
Please feel free to reach us at info@seal.security if you have any requests/questions.