CVE-2026-72821
Received Received - Intake

Stored XSS in Grav Form Plugin via Twig Raw Filter

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

Publication date: 2026-08-14

Last updated on: 2026-08-14

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
getgrav grav From 0 (inc) to 9.1.15 (exc)

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 before 9.1.15. Attackers with form authoring permissions can inject HTML and script payloads into radio and toggle field option labels. These labels are rendered using the Twig |raw filter, which does not escape the input, allowing the payloads to execute in the browsers of visitors and administrators viewing the form.

Detection Guidance

Check Grav Form plugin versions with commands like 'composer show | grep grav/form' or 'bin/grav plugin list'. Inspect forms for radio/toggle fields with suspicious option labels containing HTML/script tags. Review server logs for unusual form submissions or payload patterns.

Impact Analysis

If you are a user viewing a form with this vulnerability, malicious scripts injected by attackers could steal your session cookies, redirect you to phishing sites, or perform actions on your behalf. Administrators viewing the form may have their accounts compromised, leading to further unauthorized access or data breaches.

Compliance Impact

This vulnerability could lead to unauthorized access to user data, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Organizations may face fines or penalties for failing to protect user data adequately.

Mitigation Strategies

Upgrade Grav Form plugin to version 9.1.15 or later immediately. Remove edit permissions for untrusted users to create forms. Audit existing forms for malicious option labels and remove any suspicious content. Monitor for unusual activity in form submissions.

Chat Assistant

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

EPSS Chart