Skip to main content
← All vulnerabilities
CVE-2026-42842GHSA-C2Q3-P4JR-C55F

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0-beta.2, 9.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • getgrav grav

    fixed in 2.0.0-beta.2

  • getgrav grav-plugin-form

    fixed in 9.1.0

  • getgrav/gravPackagist

    fixed in 2.0.0-beta.2

References 2

GitHub · getgrav/grav

GitHub · getgrav/grav-plugin-form