CVE-2026-42845
The form plugin for Grav adds the ability to create and use forms. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/getgrav/grav/security/advisories/GHSA-w4rc-p66m-x6qq
- github.com/advisories/GHSA-w4rc-p66m-x6qq
- github.com/getgrav/grav-plugin-form/commit/48bacc4187e1cff815000e526d5ca2878484867f
- nvd.nist.gov/vuln/detail/CVE-2026-42845
- nvd.nist.gov/vuln/detail/CVE-2026-42845
- cve.org/CVERecord?id=CVE-2026-42845
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.