{"id":"CVE-2026-42842","published":"2026-05-11T15:29:36Z","modified":"2026-05-11T18:25:09Z","title":"grav-plugin-form: XSS via Taxonomy Field Values in Admin Panel","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00183,"percentile":0.08102,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-c2q3-p4jr-c55f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav-plugin-form/commit/6bffb4c98be468a155d1656544ec45bb4a443957","tags":["x_refsource_MISC"]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":1.62},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 2.0.0-beta.2"]},{"vendor":"getgrav","product":"grav-plugin-form","versions":["< 9.1.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T18:24:43.410950Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<2.0.0-beta.2"],"patched":["2.0.0-beta.2"],"from":["GHSA-c2q3-p4jr-c55f"],"provenance":"source"}],"summary":{"text":"The Form plugin for the Grav CMS (getgrav/grav) contains a stored cross-site scripting flaw in its select field template, where taxonomy tag and category values are rendered with the Twig |raw filter in the admin panel, bypassing global autoescaping. An attacker with editor-level privileges, network access and no further configuration requirements can inject arbitrary JavaScript that runs in an administrator's browser when that administrator views or edits any page in the admin panel, which requires the administrator to interact with the affected pages.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:03Z"},"euvd":{"id":"EUVD-2026-29127","exploited":false,"provenance":"source"}}