I fought over this issue for a few hours yesterday and this morning and found this thread which seems to be the cause:
https://github.com/facebook/create-react-app/issues/10411
As well as this proposed fix:
https://github.com/facebook/create-react-app/pull/10412
It looks like it's a dependency issue with immer, react-scripts, and react-dev-tools. They say they will try and push out an update this weekend so I would look forward to that sooner than later.
Answer from Ilya Minarov on Stack OverflowWhat are React security issues?
Is React safe against XSS?
Is React.js secure?
Videos
I fought over this issue for a few hours yesterday and this morning and found this thread which seems to be the cause:
https://github.com/facebook/create-react-app/issues/10411
As well as this proposed fix:
https://github.com/facebook/create-react-app/pull/10412
It looks like it's a dependency issue with immer, react-scripts, and react-dev-tools. They say they will try and push out an update this weekend so I would look forward to that sooner than later.
I think I had the same problem today.
npm update react-dev-utils --depth 2 into the console helped me and resolved following:
High Prototype Pollution
Package immer
Dependency of react-scripts
Path react-scripts > react-dev-utils > immer
More info https://nodesecurity.io/advisories/1603
after npm audit i got these
found 27 vulnerabilities (8 moderate, 18 high, 1 critical) in 1985 scanned packages 27 vulnerabilities require manual review. See the full report for details.
and all are coming from react scripts the critical one is
Critical Prototype Pollution in immer Package immer Patched in >=9.0.6 Dependency of react-scripts
my project is ready and i have to deploy my react app this week and got this its a product app please help how can i resolve this thank you :D