Skip to content
RCE Write-up Intermediate

How I Discovered React2Shell (CVE-2025–55182) During a VAPT Eng

The text claims a vulnerability in React-based applications where unsafe rendering of user input can lead to injection or shell access. The author says they found it using a browser extension that detects React Server Components, but no actual reproduction or technical detail is provided.

prometheus Follow

Published on medium.com

React2Shell is a vulnerability affecting certain React-based applications where unsafe rendering or improper handling of dynamic input can allow malicious code execution paths.

prometheus, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely improper handling of user-controlled input in React components, but the text does not specify the exact mistake.

Impact

The text claims that in severe cases, depending on backend misconfigurations, an attacker could gain shell access, but it provides no evidence or details.

What the attacker needed

Target uses React with unsafe rendering; backend misconfiguration for shell access

How it was found

  1. Identify the technology stack of the target
  2. Check exposed JavaScript files
  3. Review client-side components
  4. Test for known React-related misconfigurations
  5. Install the RSC Security Tools browser extension
  6. Open the target web application and click the extension icon

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This text describes a claimed security flaw in websites built with React, a tool for making web pages. It says that if a website mishandles input from users, an attacker might run harmful code. However, the text does not explain how this happens or show any real example, so it is more of an advertisement for a tool than a detailed report.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.