{"id":"CVE-2026-42842","aliases":["GHSA-c2q3-p4jr-c55f"],"url":"https://o3.security/vulnerability/CVE-2026-42842","summary":"grav-plugin-form: XSS via Taxonomy Field Values in Admin Panel","details":"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.","published":"2026-05-11T15:29:36.490Z","modified":"2026-08-12T03:51:08.913090032Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.0015,"percentile":0.04559,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"getgrav/grav","fixedVersion":"2.0.0-beta.2"}],"fix":{"url":"https://github.com/getgrav/grav-plugin-form/commit/6bffb4c98be468a155d1656544ec45bb4a443957","label":"getgrav/grav-plugin-form@6bffb4c"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42842.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-c2q3-p4jr-c55f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42842"},{"type":"FIX","url":"https://github.com/getgrav/grav-plugin-form/commit/6bffb4c98be468a155d1656544ec45bb4a443957"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:08.913090032Z"}}