High severity · published May 11, 2026
CVE-2026-42845
Grav: Anonymous Page Content Overwrite via Form File Upload filename Override
7.7
CVSS
0.7%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GR
grav-plugin-form · getgrav
< 9.1.0 · source: vendor
Affected product
GR
grav-plugin-form
getgrav
More from grav-plugin-form
6.9
CVE-2026-86194
Grav Form Plugin before 9.1.22 Cross-Page Form Execution
6.5
CVE-2026-69087
Grav Form Plugin before 9.1.13 Open Redirect via form.value() Twig
5.4
CVE-2026-42842
grav-plugin-form: XSS via Taxonomy Field Values in Admin Panel
5.3
CVE-2026-85602
Grav Form Plugin before 9.1.20 reCAPTCHA v3 Authentication Bypass