Skip to content

chore(SEC-16541): security upgrades for react-native-webview - #45

Open
casper-phantom[bot] wants to merge 2 commits into
masterfrom
autopilot2/sec-11595_critical-upgrade-fast-xml-parser-in-phantom-react-native-web
Open

chore(SEC-16541): security upgrades for react-native-webview#45
casper-phantom[bot] wants to merge 2 commits into
masterfrom
autopilot2/sec-11595_critical-upgrade-fast-xml-parser-in-phantom-react-native-web

Conversation

@casper-phantom

@casper-phantom casper-phantom Bot commented May 26, 2026

Copy link
Copy Markdown

Resolves SEC-16541

Caution

Critical risk: This change addresses a critical security advisory in a transitive parser dependency; rollback restores the vulnerable version.

Summary

  • Resolve GHSA-m7jm-9gc2-mpf2 by pinning every transitive fast-xml-parser consumer to the patched 4.5.x line.
  • Regenerate the Yarn lockfile so the repository resolves fast-xml-parser 4.5.6 instead of vulnerable 4.3.5.
  • Refresh the existing advisory PR onto current master rather than opening a duplicate.

Agent provenance

  • Implementation and validation: Oz — not exposed by host / not exposed by host

Verification

  • yarn install --frozen-lockfile --non-interactive
  • yarn lint
  • yarn build
  • yarn list --pattern fast-xml-parserfast-xml-parser@4.5.6

Closes SEC-16541
Supersedes SEC-11595

casper-run-id: 019ffc36-8cc9-7901-a1b1-594784b6efb3

Summary by CodeRabbit

  • Chores
    • Standardized the XML parsing component version to improve consistency across installations.

Pin fast-xml-parser to ^4.5.4 via yarn resolutions to address
GHSA-m7jm-9gc2-mpf2 (CRITICAL). Lockfile now resolves to 4.5.6
across all @react-native-community/cli-platform-* transitive deps.
@casper-phantom

Copy link
Copy Markdown
Author

PR opened by agent

Execution log

#45

@coderabbitai

coderabbitai Bot commented May 26, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7c49736b-aeae-4e2a-a1dd-a7c16d6b6210

📥 Commits

Reviewing files that changed from the base of the PR and between 8d3a9d1 and 521143f.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (1)
  • package.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json

📝 Walkthrough

Walkthrough

This PR adds a Yarn resolutions entry to package.json. The entry forces fast-xml-parser to version ^4.5.4.

Changes

Dependency Resolution Override

Layer / File(s) Summary
fast-xml-parser version pin
package.json
A Yarn resolutions entry pins fast-xml-parser to ^4.5.4.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately identifies the change as a security upgrade for react-native-webview, although it does not name the fast-xml-parser resolution.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch autopilot2/sec-11595_critical-upgrade-fast-xml-parser-in-phantom-react-native-web

Comment @coderabbitai help to get the list of available commands.

@casper-phantom

Copy link
Copy Markdown
Author

PR opened by agent

Execution log

Draft PR: #45

Co-authored-by: casper-phantom <273411261+phantom-autopilot@users.noreply.github.com>
@casper-phantom casper-phantom Bot changed the title chore(SEC-11595): security upgrades for react-native-webview chore(SEC-16541): security upgrades for react-native-webview Aug 13, 2026
@casper-phantom
casper-phantom Bot marked this pull request as ready for review August 13, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants