Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav-plugin-form/commit/6bffb4c98be468a155d1656544ec4
- https://github.com/getgrav/grav/security/advisories/GHSA-c2q3-p4jr-c55f
- https://github.com/getgrav/grav/security/advisories/GHSA-c2q3-p4jr-c55f
FAQ
What is CVE-2026-42842?
CVE-2026-42842 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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. Taxonom...
How severe is CVE-2026-42842?
CVE-2026-42842 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42842?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.