NetSight
high8.8

CVE-2026-134250

Grav Form Plugin 1.1.0 before 9.1.40 Stored XSS via Unsanitized File Uploads

Impact

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.

An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed.

Affected products · Getgrav

ProductAffected versions
Grav-plugin-form
from 1.1.0 before 9.1.40

Weakness classification

References