security: fix remaining high-severity dependency vulnerabilities#249
Merged
Bulzan Sergiu (busec0) merged 1 commit intomainfrom Mar 23, 2026
Merged
Conversation
Update vulnerable dependencies in react-native and react-native-expo: - fast-xml-parser: 4.5.4 → 5.5.6 (CVE-2026-26278, entity expansion bypass) - flatted: 3.3.3 → 3.4.2 (unbounded recursion DoS + prototype pollution) - json gem: 2.16.0 → 2.19.2 (high severity vulnerability) Resolves dependabot alerts: #264, #265, #266, #267, #268 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates dependency pins/lockfiles in the React Native sample apps to remediate high-severity vulnerability alerts (Dependabot #264–#268), including JS package overrides and a Ruby gem bump.
Changes:
- Bump
fast-xml-parserto5.5.6via Yarn resolutions / npm overrides and update associated lockfiles. - Bump
flattedto3.4.2(react-native resolutions + lockfile). - Bump Ruby
jsongem to2.19.2and add a minimum constraint inGemfile.
Reviewed changes
Copilot reviewed 3 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| react-native/yarn.lock | Locks fast-xml-parser@5.5.6 (+ new transitive deps) and flatted@3.4.2. |
| react-native/package.json | Forces fast-xml-parser@5.5.6 and flatted@3.4.2 via resolutions. |
| react-native/Gemfile | Adds json (>= 2.17.2) to address gem vulnerability. |
| react-native/Gemfile.lock | Updates locked json version and bundler version. |
| react-native-expo/yarn.lock | Updates fast-xml-parser lock entry and adds new transitive deps. |
| react-native-expo/package.json | Forces fast-xml-parser@5.5.6 via resolutions + overrides. |
| react-native-expo/package-lock.json | Locks fast-xml-parser@5.5.6 and adds new transitive deps. |
Files not reviewed (1)
- react-native-expo/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Nick Robinson (nickrobinson)
approved these changes
Mar 23, 2026
Member
Author
|
React Native Expo CI / Test Android - BrowserStack Maestro (pull_request) -> Failing, but a flake on browser stack. The Automation just scrolls past the element it fails to find 🙃 . Merging without it, it works on 1 out of 2 devices anyway. |
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
fast-xml-parser4.5.4 → 5.5.6 in react-native yarn resolutions and react-native-expo overrides/resolutions (CVE-2026-26278)flatted3.3.3 → 3.4.2 in react-native yarn resolutions (unbounded recursion DoS + prototype pollution)jsongem 2.16.0 → 2.19.2 in react-native Gemfile (high severity)Resolves Dependabot alerts: #264, #265, #266, #267, #268
Linear Tickets
Small Peer - Security
Closes
react-native/yarn.lock, dependabot #264)react-native-expo/package-lock.json, dependabot #265)react-native/yarn.lock, dependabot #266)react-native-expo/yarn.lock, dependabot #267)react-native/Gemfile.lock, dependabot #268)Likely also resolved (verify before closing)
Update
Test plan
bundle execworks with updated json gem🤖 Generated with Claude Code