origin: null was treated as a "missing" origin during Server Action CSRF validation. As a result, requests from opaque contexts (such as sandboxed iframes) could bypass origin verification instead of being validated as cross-origin requests.
An attacker could induce a victim browser to submit Server Actions from a sandboxed context, potentially executing state-changing actions with victim credentials (CSRF).
Fixed by treating 'null' as an explicit origin value and enforcing host/origin checks unless 'null' is explicitly allowlisted in experimental.serverActions.allowedOrigins.
If upgrade is not immediately possible:
SameSite=Strict on sensitive auth cookies.'null' in serverActions.allowedOrigins unless intentionally required and additionally protected.{
"cwe_ids": [
"CWE-352"
],
"github_reviewed": true,
"github_reviewed_at": "2026-03-17T15:30:14Z",
"nvd_published_at": "2026-03-18T00:16:20Z",
"severity": "MODERATE"
}