security: fix CRITICAL/HIGH handlebars/axios/fast-uri alerts (non-breaking)#21
Merged
Merged
Conversation
Resolve all CRITICAL/HIGH/moderate npm audit alerts using non-breaking, same-major bumps and transitive overrides only. No source changes. - axios: ^1.9.0 -> ^1.17.0 (HIGH: header injection / prototype pollution gadgets, NO_PROXY loopback & IPv4-mapped IPv6 bypass, read-side credential gadgets, MITM via config.proxy, credential theft via config merge, CRLF in multipart, SSRF) - handlebars: override ^4.7.9 (CRITICAL AST type confusion JS injection; HIGH @partial-block tampering, object-as-dynamic-partial, CLI precompiler unescaped names) — transitive via ts-jest - flatted: override ^3.4.2 (HIGH prototype pollution via parse, DoS) — transitive via eslint > flat-cache - fast-uri: override ^3.1.2 (HIGH path traversal via percent-encoded dot segments, host confusion via percent-encoded authority delimiters) — transitive via ajv - minimatch: override bumped ^10.2.2 -> ^10.2.5 (HIGH ReDoS matchOne, nested extglob backtracking) - picomatch: nested overrides (4.0.4 for tinyglobby/fdir, 2.3.2 for anymatch/micromatch/jest-util) — HIGH ReDoS / POSIX class method injection npm audit: 0 vulnerabilities. Build passes.
muhammadali-1105
approved these changes
Jun 4, 2026
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
Fixes all CRITICAL/HIGH (and incidental moderate) Dependabot alerts using non-breaking, same-major bumps and transitive overrides only. No source changes — only
package.json+package-lock.json.npm auditafter the change: 0 vulnerabilities (was 1 critical, 5 high, 2 moderate locally; default branch shows 1 critical / 14 high / 16 moderate / 2 low). Build passes (npm run build).Packages changed (old → new)
config.proxy, credential theft via config merge, CRLF in multipart, SSRFparse(), DoSmatchOne, nested extglob backtrackingpicomatch uses nested overrides (4.0.4 for
tinyglobby/fdir, 2.3.2 foranymatch/micromatch/jest-util) because the two consumer trees pin different major ranges; this keeps every consumer on its own patched same-major version.DEFERRED
None. All listed CRITICAL/HIGH targets (handlebars, axios, fast-uri, minimatch, flatted) were fixed with non-breaking changes. No major bumps were required, so nothing is deferred.
Notes
develop(there is nomain); PR targetsdevelopaccordingly.develop(TypeScript test/API mismatch:setLocation,createCollectionItem,getCollection,deleteCollectionItemnot onShipthisAPI) and is unrelated to these dependency changes.