CVE-2026-42845CWE-73

Grav: Anonymous Page Content Overwrite via Form File Upload filename Override

High · published May 11, 2026

CVSS v4.0
7.7
EPSS
0%
Percentile
37.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.7 · HIGH
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/E:P
EPSS
0.00445 · 37.7th percentile
Weakness
CWE-73 · External Control of File Name or Path
Published
2026-05-11T15:44Z
EPSS history
Timeline
  • 11 MAY 15:44Z
    Grav: Anonymous Page Content Overwrite via Form File Upload filename Override
    cvelistv5