Skip to content
CVE PROGRAM SOURCE RECORD8.5 High

CVE-2026-42612

Grav: Publisher-Level Stored XSS via Unquoted Event Attributes

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

getgrav grav

  • < 2.0.0-beta.2affected

References