NVD Vulnerability Detail
Search Exploit, PoC
CVE-2026-42845
Summary

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.

Publication Date May 12, 2026, 2:16 a.m.
Registration Date May 12, 2026, 4:14 a.m.
Last Update May 12, 2026, 2:16 a.m.
Related information, measures and tools
Common Vulnerabilities List