Skip to main content
← All vulnerabilities
CVE-2026-42845GHSA-W4RC-P66M-X6QQ

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • getgrav grav-plugin-form

    fixed in 9.1.0

  • getgrav/grav-plugin-formPackagist

    fixed in 9.1.0

References 2

GitHub · getgrav/grav

GitHub · getgrav/grav-plugin-form