Cross-site Request Forgery (CSRF) Affecting rwsdk package, versions >=1.0.0-beta.50 <1.2.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-RWSDK-16318354
  • published28 Apr 2026
  • disclosed24 Apr 2026
  • creditmthx

Introduced: 24 Apr 2026

NewCVE-2026-42190  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade rwsdk to version 1.2.3 or higher.

Overview

rwsdk is a Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) through the serverAction process. An attacker can trigger unauthorized state changes or actions by inducing an authenticated user's browser to send crafted requests from a same-site origin. This is only exploitable if the application uses server actions in combination with cookie-based authentication and the attacker controls a same-site origin as defined by browser policies.

CVSS Base Scores

version 4.0
version 3.1