SCA: security update for getgrav/grav-plugin-form (GHSA-w4rc-p66m-x6qq)

high Tenable Self-Hosted Container Security Plugin ID 441351

Description

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

- The form plugin for Grav adds the ability to create and use forms. Prior to 9.1.0 , there is an
unauthenticated page-content overwrite via file upload (GHSA-w4rc-p66m-x6qq). Public form uploads now
strip path components from the POST-supplied filename and hard-block page-content extensions (`md`,
`yaml`, `yml`, `json`, `twig`, `ini`) regardless of the configurable dangerous-extensions list. A
permissive `accept` policy combined with the default `destination: self@` could otherwise let an attacker
overwrite the page's own `.md` and pivot to super-admin via a `process: save` action. This vulnerability
is fixed in 9.1.0. (CVE-2026-42845)

Solution

Update the getgrav/grav-plugin-form library and its related packages to version 9.1.0 or later.

See Also

https://github.com/advisories/GHSA-w4rc-p66m-x6qq

Plugin Details

Severity: High

ID: 441351

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 5/7/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: High

Score: 7

Percentile: 98.33

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-42845

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.7

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/6/2026

Vulnerability Publication Date: 5/6/2026

Reference Information

CVE: CVE-2026-42845

cwe: CWE-20