CVE-2026-134250
Grav Form Plugin 1.1.0 before 9.1.40 Stored XSS via Unsanitized File Uploads
High · 8.8Fix available
- CVSS
- 8.8
- EPSS
- 0.34% (p20)
- Published
- 2026-11-21
- Age
- 8d old
- Modified
- 2026-11-26
- Product
- getgrav grav-plugin-form
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
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.
Fixed in
9.1.40
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | grav-plugin-form | >=1.1.0, <9.1.40 | 9.1.40 |