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.
Severity (CVSS)
| Base score | 5.1 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | 0 to <9.1.19; 9.1.19 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-5jrr-wfgh-mhg9 (vendor-advisory)
- https://www.vulncheck.com/advisories/grav-form-plugin-before-stored-xss-via-field-properties (third-party-advisory)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.