Commit 3acff76
authored
Fix CVE-2025-55182 - React Server Components RCE Vulnerability (#2175)
### Summary
Fixes the **CVE-2025-55182 - React Server Components RCE Vulnerability**
by using `react-on-rails-rsc` package that patched that vulnerability
and upgrading `react` and `react-dom` packages to `v19.0.1` which
mitigated the vulnerability
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated React and React-DOM to 19.0.1.
* Updated react-on-rails-rsc to 19.0.3 (dev and peer dependencies).
* **Security**
* Added mitigation guidance for CVE-2025-55182 recommending updating
react, react-dom, and react-on-rails-rsc.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 0a297b7 commit 3acff76
File tree
4 files changed
+22
-41
lines changed- packages/react-on-rails-pro
- react_on_rails_pro
- spec/dummy
4 files changed
+22
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments