xml2js <=0.4.23 Severity: high xml2js is vulnerable to prototype pollution - https://github.com/advisories/GHSA-776f-qx25-q3cc No fix available node_modules/xml2js aws-sdk * Depends on vulnerable versions of xml2js node_modules/aws-sdk
2 high severity vulnerabilities
Upgraded aws-sdk npm package to latest version. But vulnerability still exists.
package-lock.json,package.json: "overrides": {
"xml2js": "^0.5.0"
}
npm iGiven answers work well for hiding the error but you will face errors while making a development build or apk of the app. Following steps helped me solve the issue:
Search for xml2js in package-lock.json file
You will find xml2js version like this
"xml2js" : "0.4.23"
You need to replace 0.4.23 by 0.5.0
`"xml2js" : "0.5.0"`
npm installThis will resolve the error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With