Grav Form Plugin 1.1.0 before 9.1.40 Stored XSS via Unsanitized File Uploads
- State
- Published
- Severity
- 8.8 High
- Published
- Nov 21, 2026
- Updated
- Nov 26, 2026
- Reserved
- Nov 20, 2026
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.
| Product | Versions |
|---|---|
| grav-plugin-form getgrav | 1.1.0 to before 9.1.40 Affected9.1.40 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.8 High | VulnCheck | |
| 3.1 | 8.0 High | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.