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

Read the record on cve.org

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.

ProductVersions
grav-plugin-form getgrav1.1.0 to before 9.1.40 Affected9.1.40 Not Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.