CVE Explorer
CVE-2026-42842
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 vulnerab
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
affected · 2 assertions
{"product":"grav","vendor":"getgrav","versions":[{"status":"affected","version":"< 2.0.0-beta.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c672177dcd5aa75262d54a365d373cbfa81b542677d115dcb37edf9e9824db67 · sha256:545095567775bc0d… · /containers/cna/affected/0
{"product":"grav-plugin-form","vendor":"getgrav","versions":[{"status":"affected","version":"< 9.1.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c672177dcd5aa75262d54a365d373cbfa81b542677d115dcb37edf9e9824db67 · sha256:545095567775bc0d… · /containers/cna/affected/1
Affected products and versions
2 source assertions{"product":"grav","vendor":"getgrav","versions":[{"status":"affected","version":"< 2.0.0-beta.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c672177dcd5aa75262d54a365d373cbfa81b542677d115dcb37edf9e9824db67 · sha256:545095567775bc0d… · /containers/cna/affected/0
{"product":"grav-plugin-form","vendor":"getgrav","versions":[{"status":"affected","version":"< 9.1.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c672177dcd5aa75262d54a365d373cbfa81b542677d115dcb37edf9e9824db67 · sha256:545095567775bc0d… · /containers/cna/affected/1
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c672177dcd5aa75262d54a365d373cbfa81b542677d115dcb37edf9e9824db67 · sha256:545095567775bc0d… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c672177dcd5aa75262d54a365d373cbfa81b542677d115dcb37edf9e9824db67 · sha256:545095567775bc0d… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/getgrav/grav-plugin-form/commit/6bffb4c98be468a155d1656544ec45bb4a443957","tags":["x_refsource_MISC"],"url":"https://github.com/getgrav/grav-plugin-form/commit/6bffb4c98be468a155d1656544ec45bb4a443957"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c672177dcd5aa75262d54a365d373cbfa81b542677d115dcb37edf9e9824db67 · sha256:545095567775bc0d… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-c2q3-p4jr-c55f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c672177dcd5aa75262d54a365d373cbfa81b542677d115dcb37edf9e9824db67 · sha256:545095567775bc0d… · /containers/adp/0/references/0
{"name":"https://github.com/getgrav/grav/security/advisories/GHSA-c2q3-p4jr-c55f","tags":["x_refsource_CONFIRM"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-c2q3-p4jr-c55f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c672177dcd5aa75262d54a365d373cbfa81b542677d115dcb37edf9e9824db67 · sha256:545095567775bc0d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.