CVE-2026-42612

HIGH

Grav: Publisher-Level Stored XSS via Unquoted Event Attributes

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 8.5
EPSS 0.0023
EPSS Percentile 13.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (4)
getgrav/grav 2.0.0 beta1
getgrav/grav < 1.8.0
getgrav/grav 0 - 2.0.0-beta.2Packagist
getgrav/grav < 2.0.0-beta.2
Published May 11, 2026
Tracked Since May 11, 2026