Skip to content

Conversation

@vmoroz
Copy link
Member

@vmoroz vmoroz commented Dec 5, 2025

Description

Update react NPM package to 19.1.2 to address the reported security issue.
See: https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

Some server related security issues are found in react NPM package.

What

Update the react package to the recommended version.

Changelog

Should this change be included in the release notes: yes

Update react NPM package to 19.1.2 to address the reported security issue.

Microsoft Reviewers: Open in CodeFlow

@vmoroz vmoroz requested review from a team as code owners December 5, 2025 00:52
@vmoroz vmoroz enabled auto-merge (squash) December 5, 2025 01:00
@tido64
Copy link
Member

tido64 commented Dec 5, 2025

I didn't think we could just bump React like this. At least upstream, the renderers are embedded. Manually bumping the version will cause issues: https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Renderer/README.md

Are we rebuilding the renderers in RNW?

@acoates-ms
Copy link
Contributor

I didn't think we could just bump React like this. At least upstream, the renderers are embedded. Manually bumping the version will cause issues: https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Renderer/README.md

Are we rebuilding the renderers in RNW?

No we still use the embedded renderers. I looked at the changes in 19.1.1 -> 19.1.2 and nothing would affect the boundary. So really this will just shut up the errors for people. The actual security issue is around server components which we don't use in RN currently. So the fact that we don't actually pick up the new renderer is probably fine.

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.

3 participants