Read the docs
TI-2026-31051 Aliases CVE-2026-42842GHSA-c2q3-p4jr-c55f

grav-plugin-form: XSS via Taxonomy Field Values in Admin Panel

Priority MEDIUM 58CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

The form plugin for Grav adds the ability to create and use forms. Prior to 9.1.0, a Stored Cross-Site Scripting (XSS) vulnerability exists in the Grav CMS Form plugin's select field template. Taxonomy tag and category values are rendered with the Twig |raw filter in the admin panel, bypassing the global autoescape protection. An editor-level user can inject arbitrary JavaScript that executes in any administrator's browser session when they view or edit any page in the admin panel. This vulnerability is fixed in 9.1.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00183 7th percentileScored 2026-11-07
Fix Fixed grav (getgrav): 2.0.0-beta.2grav-plugin-form (getgrav): 9.1.0+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
getgravgravbefore 2.0.0-beta.22.0.0-beta.2Patch availableCNA
getgravgrav-plugin-formbefore 9.1.09.1.0Patch availableCNA
—getgrav/grav (Packagist)before 2.0.0-beta.22.0.0-beta.2Patch availableGHSA-c2q3-p4jr-c55f
  • grav Vendorgetgrav Affected before 2.0.0-beta.2 Fixed in 2.0.0-beta.2 Patch available CNA
  • grav-plugin-form Vendorgetgrav Affected before 9.1.0 Fixed in 9.1.0 Patch available CNA
  • getgrav/grav (Packagist) Vendor— Affected before 2.0.0-beta.2 Fixed in 2.0.0-beta.2 Patch available GHSA-c2q3-p4jr-c55f

Remediation

  • Fix · CNA grav (getgrav) Fixed in 2.0.0-beta.2
  • Fix · CNA grav-plugin-form (getgrav) Fixed in 9.1.0
  • Fix · GHSA-c2q3-p4jr-c55f getgrav/grav (Packagist) Fixed in 2.0.0-beta.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-42842
  2. 2026-10-03 Alias added: GHSA-c2q3-p4jr-c55f

References

  • TI-2026-30893 Grav: Privilege Escalation via Missing Server-Side Validation of groups/access CVSS 3.1CRITICAL 9.4
  • TI-2025-28971 Cross Site Scripting vulnerability in grav v.1.7.48 and before allows an attacker to… CVSS 3.1CRITICAL 9.8
  • TI-2021-04523 Unauthenticated Arbitrary YAML Write/Update leads to Code Execution CVSS 3.1CRITICAL 9.8
  • TI-2026-50940 Grav CMS before 2.0.16 Origin Validation Bypass via Referer CVSS 4.0CRITICAL 9.3
  • TI-2026-46446 Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData CVSS 4.0CRITICAL 9.3
  • TI-2021-22428 GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2) CVSS 4.0CRITICAL 9.3
See all 228 →

Sources