CVE-2026-134250 Grav Form Plugin 1.1.0 before 9.1.40 Stored XSS via Unsanitized File Uploads

Published Updated

Anonymous attackers can upload files with markup extensions to run script in an administrator's session, enabling super-admin creation on Grav sites.

CVSS score

High

8.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
9.1.40
Attack path
Over the internet
No login, a user must click or open something

What is CVE-2026-134250?

CVE-2026-134250 is a high-severity cross-site scripting vulnerability in getgrav grav-plugin-form, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

How severe is CVE-2026-134250?

CVE-2026-134250 scores 8.8 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
None

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

Which versions are affected by CVE-2026-134250?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-134250?

Upgrade getgrav grav-plugin-form to 9.1.40 or later. The advisory says that version fixes it.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-134250 being exploited?

There is no known exploitation of CVE-2026-134250 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-m94h-vchm-v9p8.

Is CVE-2026-134250 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free