CVE Explorer
CVE-2026-42612
Grav is a file-based Web platform. Prior to 2.0.0-beta.2, a stored Cross-Site Scripting (XSS) vulnerability in getgrav/grav allows publisher-level accounts to execute arbitrary JavaScript. The issue arises from a blacklist bypass in the detectXss() function when handling unquoted HTML event attributes. This vulnerability is fixed in 2.0.0-beta.2.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"grav","vendor":"getgrav","versions":[{"status":"affected","version":"< 2.0.0-beta.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:91014052da8545c1c36cc18dac39c29bd9795996f55d862a14ebb81f0e963360 · sha256:fb3ab5b415a7c396… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:91014052da8545c1c36cc18dac39c29bd9795996f55d862a14ebb81f0e963360 · sha256:fb3ab5b415a7c396… · /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:91014052da8545c1c36cc18dac39c29bd9795996f55d862a14ebb81f0e963360 · sha256:fb3ab5b415a7c396… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663","tags":["x_refsource_MISC"],"url":"https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:91014052da8545c1c36cc18dac39c29bd9795996f55d862a14ebb81f0e963360 · sha256:fb3ab5b415a7c396… · /containers/cna/references/1
{"name":"https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5q","tags":["x_refsource_CONFIRM"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5q"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:91014052da8545c1c36cc18dac39c29bd9795996f55d862a14ebb81f0e963360 · sha256:fb3ab5b415a7c396… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5q"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:91014052da8545c1c36cc18dac39c29bd9795996f55d862a14ebb81f0e963360 · sha256:fb3ab5b415a7c396… · /containers/adp/0/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.