fix(security): backport security dependency fixes to v13 #2787
Open
ankita10119 wants to merge 14 commits into
Open
fix(security): backport security dependency fixes to v13 #2787ankita10119 wants to merge 14 commits into
ankita10119 wants to merge 14 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Security-focused backport from master to the v13 (IE11-compatible) branch.
All changes preserve ES5 compatibility and have been verified with
es-check es5and tested in IE11.Changes
Dependency security fixes
qs→^6.15.2- addresses prototype pollution CVE (SNYK-JS-QS-16721866)validator→^13.15.35- ReDoS and input validation fixespassword-sheriffpinned to1.1.1- v1.3.1 introduced ES6 shorthandsyntax that breaks the IE11/ES5 bundle; pinned to last ES5-safe version
auth0-jspinned to9.28.0- fixes SNYK-JS-AUTH0JS-16438973;cannot upgrade beyond 9.28.0 because 9.29.0+ pulls in superagent@10.x which calls
new Proxy()at runtime — a global IE11 does not supportfsevents→^2.3.3added tooptionalDependencies- addresses SEC-2161; declared optional so Linux/Windows (including CI) skip it silently@auth0/component-cdn-uploader→^3.0.2- addresses GHSA-j965by dropping the transitive aws-sdk@2.x dependency (devDependency only, not in the Lock bundle)
CI fix
scripts/strip-lock-resolved.jsbackported from master - strips JFrog private registryresolvedURLs frompackage-lock.jsonbefore commits, fixingE401failures onnpm ciin GitHub ActionsSnyk policy
.snykupdated with suppressions forauth0-js(IE11/Proxy blocker) and all outstandingdompurifyCVEs (DOMPurify v3 dropped IE11 support; v13 must stay on v2)Breaking change (also in master)
References
Testing
es-check es5 'build/*.js'- passes, no ES6+ syntax in bundlenew Proxy()- confirmed absent frombuild/lock.min.jsChecklist