Fireship · @fireship

React.js shell shocked by 10.0 critical vulnerability…

Uploaded December 9, 2025 · Length 3:57

React.js shell shocked by 10.0 critical vulnerability…

Summary

React.js shell shocked by 10.0 critical vulnerability in server components flight protocol code.

  • react vulnerability
  • server components
  • flight protocol
  • critical vulnerability
  • react security

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    The JavaScript world just got shell

  2. 0:01

    shocked after a 10.0 maximum pwnage

  3. 0:04

    critical vulnerability was discovered in

  4. 0:06

    the ReactJS framework, specifically in

  5. 0:08

    its server components flight protocol

  6. 0:10

    code. This is really bad because it's

  7. 0:12

    not some random plug-in used by three

  8. 0:14

    people, but it's used extensively in

  9. 0:16

    millions of modern React apps and

  10. 0:18

    frameworks like Nex.js. Most of the Vibe

  11. 0:20

    engineers who have been polluting the

  12. 0:22

    internet with useless slop for the last

  13. 0:23

    few years default to Nex.js. But now

  14. 0:26

    that slop is not only useless but also

  15. 0:28

    extremely dangerous. You might remember

  16. 0:30

    log for shell back in 2021, an exploit

  17. 0:33

    in the log 4java library that allowed

  18. 0:35

    hackers to launch millions of attacks on

  19. 0:37

    servers and nearly took down the global

  20. 0:39

    economy. Well, in 2025, log for shell

  21. 0:42

    has a new sister called React 2 shell,

  22. 0:44

    aka CVE-2025-55182,

  23. 0:48

    an exploit that allows an attacker to go

  24. 0:50

    from HTTP request to shell access

  25. 0:53

    without logging in, without abusing some

  26. 0:55

    weird edge case, and in many cases on

  27. 0:57

    default configs. In today's video, we'll

  28. 1:00

    break down the latest reason not to use

  29. 1:01

    React and find out how this exploit

  30. 1:03

    actually works. It is December 9th,

  31. 1:05

    2025, and you're watching the Code

  32. 1:07

    Report. If you're a React developer,

  33. 1:09

    let's first find out how screwed you are

  34. 1:11

    right now. You can find out by running

  35. 1:12

    this command to see if you're using any

  36. 1:14

    of these server components packages with

  37. 1:16

    the following versions. If any of these

  38. 1:18

    bad versions pop up, your kids might not

  39. 1:20

    be getting any presents for Hanukkah

  40. 1:21

    this year. That's because you basically

  41. 1:23

    just did npm install malware. And

  42. 1:25

    there's a good chance you'll need to pay

  43. 1:27

    some Chinese guy a bitcoin or two to get

  44. 1:28

    your website back. But that's just the

  45. 1:30

    cost of being a React developer. The

  46. 1:32

    vulnerability is found specifically in

  47. 1:34

    the React Flight Protocol

  48. 1:35

    implementation. But wait a minute, I

  49. 1:37

    have ReactDev Expert on my resume and

  50. 1:39

    have never even heard of this flight

  51. 1:40

    protocol thingy. Well, it's actually

  52. 1:42

    pretty simple. React Flight is like the

  53. 1:44

    blueprint server components used to pass

  54. 1:46

    data from the server to a client-f

  55. 1:47

    facing browser. For example, when I was

  56. 1:50

    17 years old, I got my first real job

  57. 1:52

    working for Tough Shed. At that job, we

  58. 1:54

    would first prefab certain parts of a

  59. 1:56

    shed in a factory, load them on a truck,

  60. 1:58

    then drive them out to the build

  61. 1:59

    location to construct the final shed.