Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-42842 EUVD-2026-29127GHSA-c2q3-p4jr-c55f

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

Published May 11, 2026 · Updated May 11, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
getgrav grav < 2.0.0-beta.2 —
getgrav grav-plugin-form < 9.1.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist getgrav/grav < 2.0.0-beta.2 2.0.0-beta.2 GHSA-c2q3-p4jr-c55f

References