CVE-2026-42612
High
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.
SeverityHigh
CVSS8.5
Exploit probability—
Product
Grav
PublishedMay 11, 2026
First seenMay 11, 2026
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- getgrav/grav2.0.0-beta.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav grav | v ≤ 1.8.0, 2.0.0 | — |
| getgrav/gravPackagist | v < 2.0.0-beta.2 | 2.0.0-beta.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.