CVE-2026-42612

MEDIUM CVSS 3.1: 5.4 EPSS 0.24%
Updated Oct 26, 2026
Getgrav
Parameter Value
CVSS 5.4 (MEDIUM)
Affected Versions before 1.8.0
Fixed In 2.0.0
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Getgrav
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Getgrav Grav
cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
— <= 1.8.0
Getgrav Grav
cpe:2.3:a:getgrav:grav:2.0.0:beta1:*:*:*:*:*:*
— —