Skip to content
OpenAdvisories
High · 8.5 CVE-2026-42612 EUVD-2026-29070GHSA-9695-8fr9-hw5q

Grav: Publisher-Level Stored XSS via Unquoted Event Attributes

Published May 11, 2026 · Updated May 11, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
getgrav grav < 2.0.0-beta.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist getgrav/grav < 2.0.0-beta.2 2.0.0-beta.2 GHSA-9695-8fr9-hw5q

References