CVE-2026-42845

High

Description

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.

SeverityHigh
CVSS7.7
Exploit probability—
ProductGetgrav/grav-plugin-form
PublishedMay 11, 2026
First seenMay 11, 2026
Weakness typeCWE-73CWE-73

How to fix

Update
  • getgrav/grav-plugin-form9.1.0 or later

Affected products

ProductAffected versionsFixed in
getgrav/grav-plugin-formPackagistv < 9.1.09.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-42845 · Getgrav/grav-plugin-form · Dark Radar