Back to list

Grav Vulnerable to XSS via Taxonomy Field Values in Admin Panel — CVE-2026-42842

GitHub · GitHub · CVE-2026-42842

ID
CVE-2026-42842
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
5.4
EPSS
0.00029

Summary

### Summary 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.…

Product

composer: getgrav/grav

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories