CVE-2026-42845
published high CVSS 4.0 · 7.7Grav: Anonymous Page Content Overwrite via Form File Upload filename Override
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav-plugin-form< 9.1.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav-plugin-form | < 9.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-73 CWE-73: External Control of File Name or Path
References
2Provider assertions
2GitHub_M · cna
Grav: Anonymous Page Content Overwrite via Form File Upload filename Override
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c5e134f362a126aba6c34a654c015b887a44fd4a7bf2b7cf92c51b01f965967e
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record