CVE-2026-72821

Grav Form Plugin before 9.1.15 Stored XSS via Radio Toggle

Published Aug 14, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 18, 2026, 1:56 AM
Reserved
Aug 10, 2026, 3:12 PM
Status
Deferred
Published
Aug 14, 2026, 12:16 PM
Modified
Aug 31, 2026, 8:30 PM