SCA: security update for next (GHSA-mq59-m269-xvcx)

medium Tenable Cloud Security Plugin ID 438899

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Next.js is a React framework for building full-stack web applications. Starting in version 16.0.1 and
prior to version 16.1.7, `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). This is fixed in version 16.1.7 by treating `'null'` as an explicit origin
value and enforcing host/origin checks unless `'null'` is explicitly allowlisted in
`experimental.serverActions.allowedOrigins`. If upgrading is not immediately possible, add CSRF tokens for
sensitive Server Actions, prefer `SameSite=Strict` on sensitive auth cookies, and/or do not allow `'null'`
in `serverActions.allowedOrigins` unless intentionally required and additionally protected.
(CVE-2026-27978)

Solution

Update the next library and its related packages to version 16.1.7 or later.

See Also

https://github.com/advisories/GHSA-mq59-m269-xvcx

Plugin Details

Severity: Medium

ID: 438899

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/17/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2026-27978

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/17/2026

Vulnerability Publication Date: 3/17/2026

Reference Information

CVE: CVE-2026-27978

cwe: CWE-352