fix: resolve store2 vulnerability via yarn resolution #7064
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.
Description
Applied targeted resolution to pin
store2to 2.14.4 for avalanche package. This addresses GHSA-w5hq-hm5m-4548, a low-severity XSS vulnerability.The ticket requested updating
avalancheto a version withstore22.14.4+, however the latestavalancheversion (3.16.0) only includesstore22.14.2. Used resolution to forceavalanche@3.15.3to usestore2@2.14.4instead of vulnerable 2.13.2.Direct store2 usage audit: No direct
store2.get()operations found in codebasestore2.getandstore.getlocalStorage XSS vectors review: No vulnerable patterns found
Input validation: N/A (No user-controlled data used in store operations)
Issue Number
Ticket: DX-1562
How Has This Been Tested?
yarn audit- GHSA-w5hq-hm5m-4548 resolved, no store2 vulnerabilitiesyarn unit-test- All tests successful