CVE-2026-42612: Grav: Publisher-Level Stored XSS via Unquoted Event Attributes
Vulnerability summary
CVE-2026-42612 is a high (CVSS 8.5) Cross-site Scripting vulnerability in getgrav grav. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.7% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 11-05-2026PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.24% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundGrav
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Getgrav1 product
- grav< 2.0.0-beta.2 | ≤ 1.8.0 | 2.0.0:beta1
1 vendor · 1 product
References
2 links- github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5qX Refsource CONFIRMExploitPatchVendor Advisory