Getgrav grav-plugin-form
Grav Form Plugin 1.1.0 before 9.1.40 Stored XSS via Unsanitized File Uploads
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.1.0, < 9.1.40
Fixed in 9.1.40
Mitigation
Upgrade grav-plugin-form to 9.1.40 or later.
References
- Vendor advisory github.com/getgrav/grav/security/advisories/GH…
Timeline
Days relative to CVE publicationFirst public PoC 3 days after publication; not in CISA KEV. First PoC: cveForge/CVE-2026-134250 (created 24 Nov 2026, found by us: 24 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| cveForge/CVE-2026-134250 | 24 Nov 2026 +3 d | 24 Nov 2026 | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /admin/login
- Key headers
Referer: {var}- Content-Type
application/x-www-form-urlencoded- Seen in
- 1 repo: cveForge/CVE-2026-134250
- Evidence
- cveForge/CVE-2026-134250/poc.py:38 cveForge/CVE-2026-134250/poc.py:61
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/admin/login(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-134250 getgrav grav-plugin-form exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/login"; http.header_names; content:"Referer"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-134250; classtype:web-application-attack; sid:9186444; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: getgrav grav-plugin-form exploit attempt (CVE-2026-134250)
id: gg-pocmon-cve-2026-134250-9186444
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-134250. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-134250
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/admin/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.134250