CVE-2026-134250
Received Received - Intake

Stored XSS in Grav Form Plugin via SVG File Upload

Vulnerability report for CVE-2026-134250, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
rockettheme grav_form to 9.1.40 (exc)
getgrav grav_form_plugin to 9.1.40 (exc)
getgrav grav_form_plugin 9.1.40

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stored cross-site scripting (XSS) vulnerability in the Grav Form plugin versions 1.1.0 through 9.1.39. The issue occurs in the Form::uploadFiles() function, which only sanitizes SVG files when their extension is exactly '.svg'. Attackers can bypass this by uploading files with deceptive extensions like 'drawing.svg.foo' through public upload forms. When an administrator views these files, malicious scripts execute in their session, potentially allowing super-admin account creation.

Detection Guidance

Check Grav Form plugin versions 1.1.0 through 9.1.39 for installed instances. Inspect file upload forms for acceptance of any file type (accept: ['*']). Look for uploaded files with deceptive extensions like .svg.foo in site page folders. Review server logs for unusual file uploads or administrator session activities.

Impact Analysis

An attacker could upload a malicious file disguised with a fake extension. When an administrator accesses the file, the embedded script runs with the administrator's privileges. This could allow the attacker to steal session tokens, create super-admin accounts, or perform other privileged actions on the Grav system.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements under GDPR and HIPAA. If an attacker gains super-admin access, they may exfiltrate personal or health data, resulting in non-compliance with these regulations and potential legal penalties.

Mitigation Strategies

Upgrade Grav Form plugin to version 9.1.40 or later. Change public upload fields to only accept required file types instead of any file type. Remove or restrict access to uploaded files with suspicious extensions. Monitor administrator sessions for unauthorized actions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134250. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...