Suricata Detection Rule for CVE-2025-55182
A Suricata IDS/IPS rule to detect exploitation attempts against
CVE-2025-55182 — a critical unauthenticated remote code execution flaw in
React Server Components, affecting frameworks that use them including Next.js
(tracked for Next.js as CVE-2025-66478 / GHSA-9qr9-h5gf-34mp).
About the vulnerability
- CVE: CVE-2025-55182 (React Server Components); CVE-2025-66478 (Next.js)
- Severity: Critical (CVSS 10.0)
- Affected React versions: 19.0.0, 19.1.0, 19.1.1, 19.2.0
(packages: react-server-dom-parcel, react-server-dom-turbopack,
react-server-dom-webpack)
- Affected Next.js versions (App Router): 15.x and 16.x before a patched
release, plus experimental canary builds from 14.3.0-canary.77 onward
- Fixed Next.js versions: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7,
16.0.7 (and 15.6.0-canary.58, 16.1.0-canary.12+)
- Fixed React versions: 19.0.1, 19.1.2, 19.2.1
- Impact: Untrusted input processed by the RSC flight protocol allows
unauthenticated remote code execution
- References:
What this rule detects
Short explanation of the pattern the rule matches (indicators in the HTTP
payload, headers, or request structure). Keep this focused on the detection
side, not on how to exploit the flaw.
Installation
# Copy into your Suricata rules directory
cp suricata.rules /etc/suricata/rules/suricata.rules
# Add it to suricata.yaml if needed, then validate
suricata -T -c /etc/suricata/suricata.yaml
# Reload rules without a restart
suricatasc -c reload-rules
Rule
| SID | Rev | Action | Description |
|---|
| 900304 | 1 | alert | DEV - Node.js execSync Execution Attempt |
Testing & false positives
- Suricata version tested: [fill in]
- Known false positives: [fill in, e.g. similar-looking endpoints]
License
MIT