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—
ProductGrav
PublishedMay 11, 2026
First seenMay 11, 2026

How to fix

Update
  • getgrav/grav2.0.0-beta.2 or later

Affected products

ProductAffected versionsFixed in
getgrav gravv ≤ 1.8.0, 2.0.0—
getgrav/gravPackagistv < 2.0.0-beta.22.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.