CVE-2026-42842: Grav CMS Form - Stored XSS
- Cve: CVE-2026-42842
- Name: Grav CMS Form - Stored XSS
- 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.
- Impact: Editor-level attackers can execute arbitrary JavaScript in administrator browsers, potentially leading to session hijacking or further attacks.
- Remediation: Update to version 9.1.0 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs editor-level privileges
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00183
- Epss percentile: 0.07904
- Assignee: [email protected]
- Published at: 2026-05-11T17:16:33Z
- Age in days: 197
- Modified at: 2026-10-26T18:10:00Z
- References total: 2
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42842
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/getgrav/grav-plugin-form/commit/6bffb4c98be468a155d1656544ec45bb4a443957 | nvd | |
| https://github.com/getgrav/grav/security/advisories/GHSA-c2q3-p4jr-c55f | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| getgrav/grav | commit, fix, package, security_advisory | yes | /v1/repositories/getgrav/grav |
| getgrav/grav-plugin-form | commit, fix | yes | /v1/repositories/getgrav/grav-plugin-form |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts