Description
Grav Form Plugin before 9.1.19 fails to escape field-definition properties including prepend, append, spacer text, section text, and select option labels in form templates. Attackers with form authoring privileges can inject arbitrary HTML and JavaScript that executes for all form visitors through unescaped |raw filters and unquoted attributes.
Published: 2026-08-18
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Grav Form Plugin prior to version 9.1.19 does not escape field such as prepend content, append content, spacer text, section text, or select-option labels. As a result, an attacker who has the ability to author a form can inject raw HTML or JavaScript into these properties. Because the plugin passes the injected content directly to the form template via an unescaped |raw filter and leaves attribute values unquoted, the malicious code is rendered and executed in the browsers of every user who visits the form. The impact is a classic stored cross‑site scripting vulnerability that can be used for phishing, session hijacking, or other client‑side attacks.

Affected Systems

The vulnerability affects installations of Grav CMS that include the Grav Form Plugin before 9.1.19. Any form that utilizes field properties such as prepend, append, spacer, section, or select-option labels is susceptible, provided the form authoring privilege is available to the attacker. The affected product is identified as getgrav:grav with plugin versions earlier than 9.1.19.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited known exploitation. Exploitation requires form author privileges; once the malicious field is created, all form visitors render the payload. The risk profile is thus medium, contingent on the presence of trusted form authors who could be compromised or malicious.

Generated by OpenCVE AI on August 18, 2026 at 12:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Grav CMS and the Grav Form Plugin to version 9.1.19 or later
  • Remove or properly escape direct use of the |raw filter and unquoted attributes in form templates
  • Restrict form authoring privileges to trusted users only and audit form creation permissions
  • Sanitize or escape all custom field property values before rendering

Generated by OpenCVE AI on August 18, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Description Grav Form Plugin before 9.1.19 fails to escape field-definition properties including prepend, append, spacer text, section text, and select option labels in form templates. Attackers with form authoring privileges can inject arbitrary HTML and JavaScript that executes for all form visitors through unescaped |raw filters and unquoted attributes.
Title Grav Form Plugin before 9.1.19 Stored XSS via Field Properties
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-79
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-18T14:14:24.355Z

Reserved: 2026-08-17T17:28:41.677Z

Link: CVE-2026-75107

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T12:19:31.593

Modified: 2026-08-18T12:19:31.593

Link: CVE-2026-75107

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T13:00:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')