CVE-2026-42842
Last modified
CVE-2026-42842 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-42842?
How severe is CVE-2026-42842?
How do I fix CVE-2026-42842?
Are you affected by CVE-2026-42842?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
