react-server-dom-parcel@0.0.0-experimental-dc9aed36-20261027

React Server Components bindings for DOM using Parcel. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.

  • latest version

    19.3.1

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    1 months ago

  • Direct Vulnerabilities

    Known vulnerabilities in the react-server-dom-parcel package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Remote Code Execution (RCE)

    react-server-dom-parcel is a React Server Components bindings for DOM using Parcel. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.

    Affected versions of this package are vulnerable to Remote Code Execution (RCE) when a server response transports multiple typed arrays together with an attacker-controlled value. An attacker can execute arbitrary code on the server by sending a request to an application built on a framework that supports React Server Components. Only applications that run a server with a framework, bundler or bundler plugin that supports React Server Components, and that have a response combining multiple typed arrays with an attacker-controlled value, are affected.

    How to fix Remote Code Execution (RCE)?

    Upgrade react-server-dom-parcel to version 19.1.10, 19.2.9, 19.3.1 or higher.

    <19.1.10>=19.2.0 <19.2.9>=19.3.0 <19.3.1
    • H
    Allocation of Resources Without Limits or Throttling

    react-server-dom-parcel is a React Server Components bindings for DOM using Parcel. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the decodeAction and decodeFormState functions of ReactFlightActionServer.js, which perform action metadata decoding inside a loop over the submitted form fields. An attacker can drive quadratic CPU consumption and exhaust the server by submitting a Server Function request with many duplicate $ACTION_REF_ or $ACTION_ID_ form fields, each forcing a repeat of the expensive decodeBoundActionMetaData() processing. Exploitation affects only applications that expose React Server Functions through these server renderers and reaches the Flight reply decoder that handles Server Function submissions.

    Note: The project maintainers note that "[i]f your app’s React code does not use a server, your app is not affected by this vulnerability. If your app does not use a framework, bundler, or bundler plugin that supports React Server Components, your app is not affected by this vulnerability."

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade react-server-dom-parcel to version 19.1.9, 19.2.8 or higher.

    <19.1.9>=19.2.0-canary-0038c501-20250429 <19.2.8