Description
Grav Form plugin versions before 9.1.15 contain a stored cross-site scripting vulnerability in radio and toggle field option labels rendered with the Twig |raw filter. Attackers with form authoring permissions can inject HTML and script payloads in option labels that execute in the browsers of visitors and administrators viewing the form.
Published: 2026-08-14
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a stored cross‑site scripting flaw in the Grav Form plugin. Radio and toggle field option labels are rendered using the Twig |raw filter, so an attacker with form authoring permissions can inject HTML or JavaScript that executes when visitors or administrators view the form. This can lead to defacement, theft of session cookies, or other client‑side attacks but does not provide server‑side code execution or privilege escalation.

Affected Systems

The issue affects the Grav content management system, specifically the Grav Form plugin in all versions prior to 9.1.15. Users running any older Grav Form plugin on a Grav site are susceptible.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA KEV. Attackers must have form authoring rights and edit a form’s option labels; the flaw is exploitable once those privileges exist, making it a reasonable risk in shared or multi‑user environments.

Generated by OpenCVE AI on August 14, 2026 at 12:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Grav Form plugin to version 9.1.15 or later.
  • Limit form authoring permissions to trusted administrators and revoke them for unprivileged users.
  • If an upgrade cannot be performed immediately, configure the server to block inline scripts via a Content Security Policy or remove the raw filter usage for option labels when possible.

Generated by OpenCVE AI on August 14, 2026 at 12:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Description Grav Form plugin versions before 9.1.15 contain a stored cross-site scripting vulnerability in radio and toggle field option labels rendered with the Twig |raw filter. Attackers with form authoring permissions can inject HTML and script payloads in option labels that execute in the browsers of visitors and administrators viewing the form.
Title Grav Form Plugin before 9.1.15 Stored XSS via Radio Toggle
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-14T11:35:30.847Z

Reserved: 2026-08-10T15:12:16.754Z

Link: CVE-2026-72821

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-14T12:16:45.140

Modified: 2026-08-14T12:16:45.140

Link: CVE-2026-72821

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T12:45:17Z

Weaknesses
  • CWE-79

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