CVE-2026-42842
MEDIUMgrav-plugin-form: XSS via Taxonomy Field Values in Admin Panel
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/getgrav/grav/security/advisories/GHSA-c2q3-p4jr-c55f
X_Refsource_Misc x_refsource_misc
https://github.com/getgrav/grav-plugin-form/commit/6bffb4c98be468a155d1656544ec45bb4a443957
Scores
CVSS v3
5.4
EPSS
0.0015
EPSS Percentile
4.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (3)
getgrav/grav
0 - 2.0.0-beta.2Packagist
getgrav/grav
< 2.0.0-beta.2
getgrav/grav-plugin-form
< 9.1.0
Published
May 11, 2026
Tracked Since
May 11, 2026