CVE-2026-134250
Grav Form Plugin 1.1.0 before 9.1.40 Stored XSS via Unsanitized File Uploads
8.8
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| grav-plugin-form | getgrav | 1.1.0 → <9.1.40 | 9.1.40 | CVE.org |