This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id: cve-2025-55182-cve-2025-66478-react-nextjs-rce | |
| info: | |
| name: React Server Components and Next.js RSC Flight Protocol - Remote Code Execution | |
| author: unknown | |
| severity: critical | |
| description: | | |
| Detects CVE-2025-55182 and CVE-2025-66478 vulnerabilities allowing unauthenticated | |
| Remote Code Execution (RCE) in React Server Components and Next.js through insecure | |
| deserialization in the RSC Flight protocol. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: 1.2.8 | |
| cache: true | |
| registration: | |
| socialLogins: | |
| - "discord" | |
| - "facebook" | |
| - "github" | |
| - "google" | |
| - "openid" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type React from 'react'; | |
| type ComponentPropsAs< | |
| C extends React.ElementType<any>, | |
| T extends React.ComponentPropsWithoutRef<C>['as'], | |
| > = Omit< | |
| Extract<React.ComponentPropsWithoutRef<C>, { as: T }>, | |
| 'as' | 'asChild' | |
| >; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { ElementType, FC, ReactNode } from 'react'; | |
| import { cn } from '@/lib/utils'; | |
| import React from 'react'; | |
| import { ComponentPropsWithout, RemovedProps } from './helpers'; | |
| import { Slot } from '@radix-ui/react-slot'; | |
| export interface LayoutProps { | |
| className?: string; | |
| children?: ReactNode; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Sample custom iterator. | |
| // By perfectly.insane (http://www.dreamincode.net/forums/index.php?showuser=76558) | |
| // From: http://www.dreamincode.net/forums/index.php?showtopic=58468 | |
| #include <iostream> | |
| #include <vector> | |
| #include <algorithm> | |
| #include <iterator> | |
| #include <cassert> |