Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134250: high-severity vulnerability (CVSS 8.8) in getgrav grav-plugin-form.
What happened
Original description from the source: Grav Form plugin 1.1.0 before 9.1.40 contains a stored cross-site scripting vulnerability in Form::uploadFiles(), which sanitizes SVG only when a file's last extension is .svg and accepts markup under unrecognized extensions. Anonymous attackers can upload files like drawing.svg.foo through public any-type upload forms, running script in an administrator's session when opened, enabling super-admin creation on Grav 2.x with Admin2.
Why it matters
High severity, CVSS 8.8.
Affected products and versions
getgrav grav-plugin-form >= 1.1.0, < 9.1.40; getgrav grav-plugin-form 9.1.40 (fixed in 9.1.40)
| Product | Versions | Fixed in |
|---|---|---|
| getgrav grav-plugin-form | >= 1.1.0, < 9.1.40 | — |
| getgrav grav-plugin-form | 9.1.40 | 9.1.40 |
Action recommended by the source
Upgrade to a fixed version: 9.1.40.
Fixed in: 9.1.40
Sources and references
- https://github.com/getgrav/grav/security/advisories/GHSA-2vpw-p335-mmmp — CVE Program
- https://www.vulncheck.com/advisories/grav-form-plugin-1.1.0-before-9.1.40-stored-xss-via-unsanitized-file-uploads — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.